name

Returns the name of this enum constant, exactly as declared in its enum declaration.

Since Kotlin

1.0

Since Kotlin

1.1

Since Kotlin

1.3

Since Kotlin

1.8

Since Kotlin

1.8