githubEdit

IsEmpty

Determine whether a given value is empty.

We check for emptiness of anything that can be casted to: Array, Struct, Query, or String.

Method Signature

IsEmpty(value=[any])

Arguments

Argument
Type
Required
Description
Default

value

any

true

The value/object to check for emptiness.

Examples

Test to see if a struct is empty

Run Examplearrow-up-right

myStruct = {};
writeOutput( structIsEmpty( myStruct ) );

Result: true

Test to see if a struct contains something

Run Examplearrow-up-right

Result: false

Using Member Function

Run Examplearrow-up-right

Result: true

Additional Examples

Run Examplearrow-up-right

Last updated

Was this helpful?