enumValueOf

inline fun <T : Enum<T>> enumValueOf(name: String): T(source)

Returns an enum entry with specified name.

Since Kotlin

1.1