Number Intrinsic Functions - AsBoolean Method
Return a string as a Boolean
Member of Number Intrinsic Functions (PRIM_LIBI.INumberIntrinsics)
Parameters
Name |
Type |
Data Type |
Description |
Result |
*Result (Optional) |
Boolean |
Resulting Boolean |
Details
AsBoolean converts a variable to a Boolean.
It will return False for a value of zero. All other values are considered to be True.