← Docs
kotlin-stdlib / kotlin.reflect.full / isSubtypeOf

isSubtypeOf

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

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

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .