--- title: "empty()" slug: "string-empty" updated: 2026-08-17T06:13:54Z published: 2026-08-17T06:13:54Z canonical: "docs.lobstersoftware.com/string-empty" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # empty() This function returns *true* if text **a** has a length of *0*. ## Parameters | Parameter | Description | | --- | --- | | a | Text | ## Examples Blanks are represented by underscores for illustrative purposes in the examples. | Parameter a | Result | | --- | --- | | | true | | nonempty | false | | ____ | false |