Skip to content

Latest commit

 

History

History
114 lines (89 loc) · 2.25 KB

File metadata and controls

114 lines (89 loc) · 2.25 KB

Function: 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

IsDefined(variable=[string])

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