edwardwongtl
values
enum class Kind { Single, Double } class A(val a: Kind) A().a /// from here get the type of a and get its enum class, then get enum.values?
rnpy
diesieben07
a.declaringClass.enumConstants
enumValues
A modern programming language that makes developers happier.