Skip to main content

List.IsEmpty

Returns true if the list is empty.

Syntax

List.IsEmpty(
list as list
) as logical

Remarks

Returns true if the list, list, contains no values (length 0). If the list contains values (length > 0), returns false.

Examples

Example #1

Find if the list {} is empty.

List.IsEmpty({})

Result:

true

Example #2

Find if the list {1, 2} is empty.

List.IsEmpty({1, 2})

Result:

false

Category

List.Information