isSupertypeOf

fun KType.isSupertypeOf(other: KType): Boolean(source)

Returns true if this type is the same or is a supertype of other, false otherwise.

Since Kotlin

1.1