Checks if a user variable with the specified name exists in the specified scope.
Parameters:
scope
If this parameter is not specified, the global scope is assumed by default.
name
true
– the variable exists;false
– the variable does not exist.
setVar(), getVar()