boolp expression bool? expression
Returns true if expression outputs boolean value.
true
Example:
print bool? 2 > 3 print bool? "true print bool? "abc
Output:
True True False
See also:
Type predicates
Table of Content