Open adam-wyluda opened 8 years ago
Find first element fulfilling given predicate. If no value is found then it will return either empty/null value of data class or empty Option proposed in #100.
Alternatively we could have Array.indexWhere which returns index of the found element or -1 in other case.
:+1:
Find first element fulfilling given predicate. If no value is found then it will return either empty/null value of data class or empty Option proposed in #100.