ON THIS PAGE:
Format
Boolean(Arg1)
Returns
Converts the supplied argument into a Boolean data type.
Inputs
Arg1: The argument to be converted.
Behaviour: Required
Dimension: Collection, SingleValue, MultiCollection
Valid data types: Boolean, Decimal, Integer, String
Examples
Expression: Boolean(True)
Result: Returns the Boolean value of True as a Boolean value of True.
E.g. True
Expression: Boolean(12.2)
Result: Returns the decimal value of 12.2 as a Boolean value of False.
E.g. False
Expression: Boolean(12)
Result: Returns the integer value of 12 as a Boolean value of False.
E.g. False
Expression: Boolean("True")
Result: Returns the string value of "True" as a Boolean value of True.
E.g. True
Release History
- Boolean() 4.6.5
- Changed Arg1 parameter to support MultiCollection values.
- Boolean() 4.0
- Initial version