isValidObject

isValidObject(obj: Object): Boolean;

The isValidObject method of the Application class is used to establish if the object specified in the obj parameter exists, by returning true. This method returns false if the specified object has been deleted.

Use this method in LockException handlers rather than the Global::isValidObject method, to avoid Object not available exceptions occurring when global is locked.