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}
}
This TLO is added by MacroQuest.
Republished and possibly modified from https://docs.macroquest.org/reference/top-level-objects/tlo-defined/