enumValueOf

Common
JVM
JS
1.1
fun <reified T : Enum<T>> enumValueOf(name: String): T
Native
1.3
fun <T : Enum<T>> enumValueOf(name: String): T

Returns an enum entry with specified name.