Method to convert a string to a Boolean.
The method .toBoolean() is located in the file string.jsxinc.
Usage
var mystring = "0"; var boolean = mystring.toBoolean();
Parameters
This method has no parameters.
Return values
| Return value | String value |
|---|---|
| true | true, 1 |
| false | false, 0, -1 |
| null | Everyting not included in the rows above. |
