Share via


List.IsEmpty

Syntax

List.IsEmpty(list as list) as logical

About

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

Example 1

Find if the list {} is empty.

Usage

List.IsEmpty({})

Output

true

Example 2

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

Usage

List.IsEmpty({1, 2})

Output

false