Method Abstract():isDerivedFrom() Foundation

Checks if an object belongs to or is derived from a particular class.

:isDerivedFrom( <cClassName>|<oClassObject> ) --> lIsDerived
A character string containing the name of the class an object belongs to or is derived from.
Alternatively, the class object can be passed instead of the class name.

The method returns .T. (true) if the object executing the method belongs to or is derived from the specified class.


This method is used to check if an unknown object has features of a known class. This is especially useful for event driven programming or when classes are inherited from other classes.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.