Core API – Kotlin Programming Language (original) (raw)
expect val name: String(source)
Returns the name of this enum constant, exactly as declared in its enum declaration.
Since Kotlin
1.0
actual val name: String(source)
Since Kotlin
1.1
actual val name: String(source)
Returns the name of this enum constant, exactly as declared in its enum declaration.
Since Kotlin
1.0
actual val name: String(source)
Since Kotlin
1.3
actual val name: String(source)
Returns the name of this enum constant, exactly as declared in its enum declaration.
Since Kotlin
1.8
actual val name: String(source)
Returns the name of this enum constant, exactly as declared in its enum declaration.
Since Kotlin
1.8