typeOf

inline fun <T> typeOf(): KType

Returns a runtime representation of the given reified type T as an instance of KType.

Since Kotlin

1.3