isKindOf
defined in: Object
anObject.isKindOf(aClass)
Returns true if the object is of the class or one of its subclasses.
To determine if an object is specifically of type aClass, but not one of its subclasses :
anObject.class === aClass