isEmpty (Check for empty)

See also: ifEmpty, if (if, then, else), trim (Calculation expression – cutting off whitespaces)

The $isEmpty function returns true if the transferred text is empty/null.

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, ...).

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