| Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() |
Siebel eScript Language Reference > Siebel eScript Language Overview > Operators >
Typeof Operator
The typeof operator provides a way to determine and to test the data type of a variable and may use either of the following notations (with or without parentheses):
var result = typeof variable
var result = typeof(variable)After either line, the variable result is set to a string that represents the variable's type:
"undefined","boolean","string","object","number","function",or"buffer".
| Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() |
Siebel eScript Language Reference Published: 18 April 2003 |