isNull

Returns true if the specified object is null.

isNull(object) → returns boolean

Argument Reference

object variableName
Required

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