enumContains

inline fun <T : Enum<T>> enumContains(name: String, ignoreCase: Boolean): Boolean

Returns true if enum T contains an entry with the specified name.