bool()
Function group | Execute on client | Platform(s) |
---|---|---|
General | NO | All |
Function group | Execute on client | Platform(s) |
---|---|---|
General | YES | All |
Syntax
bool(pValue)
Description
Converts pValue to Boolean, i.e. it returns the 'truthiness' of a value.
Example
Do bool(#NULL) ## would return kFalse
If kTrue | bool(#NULL) ## Would resolve to true
...
End If
If bool(lObjRef) ## Would resolve to true if lObjRef was set to an instance, and false if unset
...
End If