kotlin-stdlib / kotlin / Enum / name name Common JVM JS Native 1.0 val name: String Returns the name of this enum constant, exactly as declared in its enum declaration.