W3cubDocs

/Kotlin

jvmErasure

val KType.jvmErasure: KClass<*>

Platform and version requirements: Kotlin 1.1, JVM

Returns the KClass instance representing the runtime class to which this type is erased to on JVM.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect.jvm/jvm-erasure.html