-
Notifications
You must be signed in to change notification settings - Fork 0
Instance_exists
hugh greene edited this page Jun 20, 2022
·
1 revision
Checks whether a given instance of an object currently exists or not and returns the result.
- obj: index of the instance
boolean: Returns (true or false) whether or not the object instance exists or not.
// demonstrates checking if an instance of an object exists or not
if (instance_exists(myobj)) {
// instance does exist
} else {
// instance does not exist
}
NOTOC
edited by hpg678 on Github