Lucee Function Reference

isempty()

return true if a value is "empty".
The following things are considered to be empty:
- string:"" (an empty string)
- array: [] (an empty array)
- struct: {} (an empty struct)
...

Example

isempty(any value):boolean

Category

decision

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
value any  Yes The value to check. Can be either a string, array, struct or query object.