In Kotlin, I can obtain a KType from a KClass<*> like so:
KType
KClass<*>
Int::class.createType()
kotlin.Int
How do I do the reverse and obtain the KClass<Int> from a KType representing a kotlin.Int?
KClass<Int>
Aucun commentaire:
Enregistrer un commentaire