Is there common way to get all values from a `KCla...
# multiplatform
d
Is there common way to get all values from a
KClass<T>
which is known to be enumerable (constrainted by
T : Enum<T>
) ? On JVM we can do
T::class.enumConstants
to get the
Array<T>
1
Yes, there is now a common
enumValues<T>()
function! 😁