Evaluates the input as a boolean, and outputs either true or false. If not a boolean throws an exception.

booleanFormat(number) → returns Numeric

This function requires Adobe ColdFusion 2016 and up. Not supported on Lucee, OpenBD, etc.

Argument Reference for the booleanFormat function


Required: Yes

Examples sample code invoking the booleanFormat function

BooleanFormat Example


Expected Result: true

Fork me on GitHub