Defined
¶
Determines whether a variable, array, or timer with this name exists. The variable, array or timer must not be enclosed with ${}.
Forms¶
bool Defined[Name]
¶
- Returns true if the given variable name is defined.
Usage¶
/if (${Defined[varname]}) {
/echo ${varname}
}