bool¶
Description¶
Generate a boolean value of the argument value.
Return type¶
bool
Domain¶
This is a scalar function (calculates a single output value for a single input row.)
Categories¶
Usage¶
bool( value )
Argument |
Type |
Required |
Multiple |
---|---|---|---|
value |
any |
Required |
Only one |
Examples¶
make_col boolIfPossible:bool(obj.field)
The bool
function casts an any
value to bool
, and if that fails, returns null
.