$existsVariable

Examines if a variable with the given name exists.
Syntax
    $existsVariable{var_name}
DocumentationExamines if a variable with the given name exists:

    Parameters:
      var_name, the name of the variable whos existance is to be examined.
    Returns:
      1 if and only if the variable with the given name exists; 0 otherwise.
Examples
Example 1:
    $existsVariable{i}

    Result 1:
    if variable "i" exists:
    1 - (true)
    if variable "i" does not exist:
    0 - (false)
Example 2:
    $if {$existsVariable{i}}
    {variable i exists}
    {variable i does not exist}

    Result 2:
    if variable "i" exists:
    variable i exists
    if variable "i" does not exist:
    variable i does not exist
GroupBranch
Minimum required transaction-mode:READ
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1