variable_local_exists(name)

From ENIGMA

Jump to: navigation, search

Description

Checks if a local variable exists by looking it up by name and returns the result.

Parameters

Parameter Data Type Description
name string name of the local variable

Return Values

boolean: Returns whether the local variable exists or not.

Example Call

// demonstrates checking if a local variable exists or not
if (variable_local_exists("cat")) {
  // cat does exist
} else {
  // cat does not exist
}
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox