Iterating over enums?

Hello

Is there a way to iterate over Kotlin Enums like with MyEnumClass.values() in Java?
IntelliJ does not show me something like valueOf() neither.

bye,

-christian-

1 Like

I believe these are not supported for now, but obviously they should be.

I created a new issue for the values() and there is an old one for valueOf() . Feel free to comment and vote for them.