boolean
Converts the value of arg to a Boolean value. This may be useful for working with logical functions (such as equal, greater, and so on), as well as filters and if-else conditions. To get a Boolean false, supply an empty string or numeric 0 as argument. To get a Boolean true, supply a non-empty string or numeric 1 as argument.
Languages
Built-in, C++, C#, Java, XQuery, XSLT 1.0, XSLT 2.0, XSLT 3.0.
Parameter
Argument | Description |
---|---|
arg | Mandatory argument. Supplies the value to be converted. |