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 Example

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

Result: true

Test to see if a struct contains something

Run Example

Result: false

Using Member Function

Run Example

Result: true

Additional Examples

Run Example

Last updated

Was this helpful?