isSubtypeOf

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

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

Since Kotlin

1.1