$existsCurrent

Examines if the current variable with the given name exists.
Syntax(No syntax available.)
DocumentationExamines if the current variable with the given name exists:

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

    Result 1:
    sets current variable "Name" to the value "Dave", current variable "Name"
    exists:
    1 - (true)
Example 2:
    $if{$existsCurrent{Name}}
      {
      $include{Name_exists_template}
      }
        {
        $include{Name_not_exists_template}
        }

    Result 2:
    if current variable "Name" exists:
    includes template "Name_exists_template"
    if current variable "Name" does not exist:
    including template "Name_exists_template"
GroupSpecial
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1