<@U5WPB8H99> The same thing: ``` enum class Test ...
# getting-started
k
@jschneider The same thing:
Copy code
enum class Test {
    A, B, C
}

val a = Test.valueOf("A")
j
karelpeeters: Enum.valueOf is generic. It takes the enum class as first parameter. Is there a counter part in kotlin?
k
@jschneider
java.lang.Enum.valueOf
should work 🙂
It is an ugly solution though