Determines whether a structure contains data.
structIsEmpty(structure)
returns boolean
someStruct.isEmpty()
Name | Type | Required | Default | Description |
---|---|---|---|---|
structure | struct | Yes | Structure to test |
myStruct={};
writeOutput( structIsEmpty(myStruct) );
myStructWithThings={ "one": "foo", "two": "bar"};
writeOutput( structIsEmpty(myStructWithThings) );
CF11+ Lucee4.5+
myStruct={};
writeOutput( myStruct.IsEmpty() );