does anyone know if it’s possible to get a referen...
# announcements
p
does anyone know if it’s possible to get a reference to the KClass of a generic type parameter? eg.
inline fun <reified T>test() { typeOf<T>()... }
r
you can just do
T::class
(if it's reified), that should get ya what you want no?
❤️ 1
p
perfect, thank you!