IsDefined
The IsDefined() function determines whether an input parameter has a value assigned to it or not.
Related functions: IsDate, IsElement, IsNull
Syntax
IsDefined (Element)
Element | A parameter with or without a value assigned to it |
Note:
If the element does not exist, or an error is returned when interrogating the value of the element, the IsDefined() function returns FALSE.
Examples
Parameter | Function | Output |
Element = 1 | IsDefined(Element) | TRUE |
Element = “ABC” | IsDefined(Element) | TRUE |
Element = NULL | IsDefined(Element) | FALSE |