Instance_exists - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Notation
Description
Checks whether a given instance of an object currently exists or not and returns the result.
Parameters
- obj: index of the instance
Return Values
boolean: Returns (true or false) whether or not the object instance exists or not.
Example Call
// demonstrates checking if an instance of an object exists or not
if (instance_exists(myobj)) {
// instance does exist
} else {
// instance does not exist
}
NOTOC