hasInstance

hasInstance(object: Object): Boolean;

The hasInstance method of the Class class returns true if the value specified in the object parameter is or has been an instance of the receiver class.

This method is similar to the isKindOf method of the Object class, except that the object parameter can refer to a deleted object; for example, in a delete notification. However the isKindOf method executes faster than the hasInstance method.