07-20-2023, 04:28 PM
In Kotlin, I can obtain a `KType` from a `KClass<*>` like so:
Int::class.createType()
> kotlin.Int
How do I do the reverse and obtain the `KClass<Int>` from a `KType` representing a `kotlin.Int`?
Int::class.createType()
> kotlin.Int
How do I do the reverse and obtain the `KClass<Int>` from a `KType` representing a `kotlin.Int`?