isNull

Returns true if the specified object is null.

isNull(value) → returns boolean

Argument Reference

value variableName
Required

Lucee does not accept value as a named argument; it uses object.

Examples
Sample code invoking the isNull function

Returns true if the given object is null or the given expressions evaluates to null; Returns false is otherwise.

isNull( javaCast("null", "") )

Expected Result: true

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub