enumValueOf

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

Returns an enum entry with specified name.