Interprets the given string as a boolean. Strings are evaluated as true if they match 'true', 'yes' or '1' (not case-sensitive).
Syntax
Smartsite SXML | Copy Code |
---|---|
boolean convert.toboolean(any data) |
Parameters
Name | Data Type | Description |
---|---|---|
data | Any | The data to convert. |
Return Value
Data Type | Description |
---|---|
Boolean | Input string converted to a boolean. |