--- title: "isEmpty (Check for empty)" slug: "calc-function-is-empty" updated: 2026-05-12T12:34:51Z published: 2026-05-12T12:34:51Z canonical: "docs.lobstersoftware.com/calc-function-is-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. # isEmpty (Check for empty) *See also*: [ifEmpty](/v1/docs/en/calc-function-if-empty), [if (if, then, else)](/v1/docs/en/calc-function-if), [trim (Calculation expression – cutting off whitespaces)](/v1/docs/en/calc-function-trim) > [!NOTE] > The $isEmpty function returns true if the transferred text is empty/*null*. > > > [!TIP] > > Tooltip > > > > Syntax: *$isEmpty(text)* > > > > | Name | Description | > > | --- | --- | > > | `text` | The text, which is checked for empty. **IMPORTANT:** The transferred value is cleared of leading or attached whitespaces (e.g. spaces, tab, etc.). Thus a value, which consists only of spaces, is considered empty. | > > > > f the transferred text is empty, *true* is returned, otherwise *false*. > > > > Examples: $isEmpty( ) – returns true, $isEmpty(0) returns false, $isEmpty(Hallo) returns false ## Syntax *$isEmpty(text)* ## Parameter | Name | Description | | --- | --- | | text | The text, which is checked for empty. **IMPORTANT:** The transferred value is cleared of leading or attached whitespaces (e.g. spaces, tab, etc.). Thus a value, which consists only of spaces, is considered empty. | ## Return value If the transferred text is empty, *true* is returned, otherwise *false*. ## Example | Syntax | Result | | --- | --- | | $isEmpty(Jonas Abend) | false | | $isEmpty(0) | false | | $isEmpty() | true | | $isEmpty( ) | true | | $isEmpty( ) | true |