kotlin-stdlib / kotlin / enumValueOf enumValueOf Common JVM JS Native 1.1 fun <reified T : Enum<T>> enumValueOf(name: String): T(Common source) (JS source) (Native source) Returns an enum entry with specified name.