Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > The Global Object >
ToBoolean() Method
This method converts a value to the Boolean data type.
Syntax
ToBoolean(value)
Returns
A value that depends on value's original data type, according to the following table:
Usage
This method converts value to the Boolean data type. The result depends on the original data type of value.
CAUTION: The ToBoolean() function is unique to Siebel eScript. Avoid using it in a script that may be used with a JavaScript interpreter that does not support it.
See Also
Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference Published: 18 April 2003 |