Xojo.Introspection.TypeInfo.IsSubClassOf
From Xojo Documentation
Method
Xojo.Introspection.TypeInfo.IsSubClassOf(c As Xojo.Introspection.TypeInfo) As Boolean
Supported for all project types and targets.
Supported for all project types and targets.
Returns True if this item a subclass of the specified type c. False if not.