IsDefined
Determine whether a given variable reference exists.
, For example: ,
, ,
,
,isDefined( "luis" ),
, will test for the existence of an ,,lmajano,
, variable in any accessible scope.,, ,
,
,isDefined( "variables.foo" ),
, will test for the existence of a ,,foo,
, variable in the ,,variables,
, scope.,, ,
,
,isDefined( "brad.age" ),
, will test for the existence of an ,,age,
, key in the ,,brad,
, struct, in any accessible scope,, ,
, ,
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The variable reference to test for existence. For security reasons, only dot-notation is supported. Struct/array bracket notation is not supported, nor is function invocation, etc. |
Examples
Related
Last updated