Returns whether or not a given value is "empty".

isEmpty(value) → returns boolean

This function requires Lucee.  Not supported on Adobe ColdFusion, etc.

isEmpty Argument Reference

value any

Sample code invoking the isEmpty function

Returns a boolean based on the given value. Strings, Arrays, Structs and queries are accepted data types.

isEmpty( {} )

Expected Result: true

Fork me on GitHub