Coerces an expression into a Boolean value.
bool (value)
bool:bool (value:any)
An expression to be coerced. Its type can be anything except STR. The coercion will evaluate to FALSE if the value of the expression is 0; otherwise, the value of the coercion will be TRUE.
$nmdebug > wl bool(0) FALSE $nmdebug > wl bool(1) TRUE $nmdebug > wl bool(123) TRUE $nmdebug > wl bool(a.c00023c4) TRUE $nmdebug > wl bool(0.0) FALSE
none