Level
Severity of the diagnostic that should be reported on usages which did not explicitly opted into the API either by using OptIn or by being annotated with the corresponding marker annotation.
Since Kotlin
1.3Entries
Companion properties
Link copied to clipboard
Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.
Since Kotlin 1.3
Companion functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Since Kotlin 1.3
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.
Since Kotlin 1.3