first

inline fun <T : Enum<T>> first(predicate: (item: T) -> Boolean): T