Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > Data Handling Methods in Siebel eScript > defined() MethodThis function tests whether a variable or object property has been defined. SyntaxReturnsTrue if the item has been defined; otherwise, false. UsageThis function tests whether a variable or object property has been defined, returning true if it has or false if it has not. CAUTION: The defined() function is unique to Siebel eScript. Before using it, confirm that the JavaScript interpreter that will run the script supports Siebel eScript functions. Avoid using this function in a script that may be used with a JavaScript interpreter that does not support it. ExampleThe following fragment illustrates two uses of the defined() method. The first use checks a variable, var t = 1; if (!defined(t.t)) See Also |
Siebel eScript Language Reference |