kotlinTypeOf

inline fun <T> kotlinTypeOf(): KType(source)

Obtain the full generic type information of the reified type argument T, usage: kotlinTypeOf<List<String>>().