Sorry, your browser does not support JavaScript or JavaScript is disabled. Please enable JavaScript or use another browser to have a better experience.
Tests if the item specified by key is defined within an object. Returns false if the item is unassigned or does not exist. See “Using %IsDefined() to Test for Valid Values” for details and examples.
method %IsDefined(key) as %Boolean
parameters:
key — the object key or array index of the item to be tested. An array index must be passed as a canonical integer value. Array indexes begin at position 0.
see also: Resolving Null, Empty String, and Unassigned Values
class reference: %DynamicObject.%IsDefined()Opens in a new tab and %DynamicArray.%IsDefined()Opens in a new tab