reference:evaluator:isset

IsSet(
     var:name,
     [var:name...]
)
bool

Arguments

name

Name of variable to test for.

name...

Optional. Additional variable names...

Return value

True if all specified variables exist.

Description

Returns True if all specified variables exist (within the context of this evaluation). Returns False if any do not exist.

Example:

if (IsSet("j")) { ... } // does a variable called "j" exist?
if (IsSet("name", "ext")) { ... } // do variables called "name" and "ext" both exist?

See also: Val