TypeInfo.IsSubclassOf

From Xojo Documentation

Method

TypeInfo.IsSubclassOf(c as TypeInfo) As Boolean

Supported for all project types and targets.

Returns True if the datatype is a subclass of the passed datatype.