$existsLocal

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

    Parameters:
      var_name, the name of the local variable whos existance is to be examined.
    Returns:
      1 if and only if the local variable with the given name exists; 0 otherwise
Examples
Example 1:
    $set{a}{100}
    $set{b}{200}
    $existsLocal{a}{b}

    Result 1:
    sets local variables to the specified values, local variables "a" and "b"
    exists:
    1 - (true)
Example 2:
    $if{$existsLocal{a}}
    {$include{a_exists_template}}
    {$include{a_not_exists_template}}

    Result 2:
    if local variable "a" exists:
    includes template "a_exists_template"
    if local variable "a" does not exist:
    includes template "a_not_exists_template"
GroupSpecial
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1