Undefined Data Type
If Siebel CRM saves nothing in a variable, then it is undefined. An undefined variable occupies space until Siebel CRM saves a value in it. When Siebel CRM saves a value in a variable, it modifies the type of the variable according to the value.
The following example determines if a variable is undefined:
var test;
if (typeof test == "undefined")
TheApplication().RaiseErrorText("test is undefined");