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

isEmpty(value) → returns boolean

This function requires Lucee. Not supported on Adobe ColdFusion.

isEmpty Argument Reference

value any

Examples sample code invoking the isEmpty function

isEmpty Example

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