Checks if a user variable with the specified name exists in the specified scope.

Parameters:

scope

The scope (context) with which the variable is associated.

If this parameter is not specified, the global scope is assumed by default.

name
The variable name.
Returns:
true – the variable exists;
false – the variable does not exist.
See Also:
setVar(), getVar()
${include ../../refs/user_vars.htm}