IsDefined
Determine whether a given variable reference exists.
For example:
isDefined( "luis" )
will test for the existence of anlmajano
variable in any accessible scope.isDefined( "variables.foo" )
will test for the existence of afoo
variable in thevariables
scope.isDefined( "brad.age" )
will test for the existence of anage
key in thebrad
struct, in any accessible scope
Method Signature
Arguments
Argument
Type
Required
Description
Default
variable
string
true
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