kotlin-stdlib / kotlin.reflect.full / isSuperclassOf isSuperclassOf JVM 1.1 fun KClass < * > . isSuperclassOf ( derived : KClass < * > ) : Boolean (source) Returns true if this class is the same or is a (possibly indirect) superclass of derived , false otherwise.