Object

Object

All script classes inherit from this type. A variable of type Object can hold anything.

Methods

bool IsValid()

Returns true if the Object contains a valid (non-null) reference to a corresponding object instance in memory.

Note

Same as !IsNull()

bool IsNull()

Returns true if the Object does not contain a valid reference to a corresponding object instance in memory.

Note

Same as !IsValid()

string ToString()

Returns a string representation of the object. Not all classes derived from Object provide an implementation of ToString and will return an empty string.