Add support for Array.find and/or Array.indexWhere
adam-wyluda opened this issue · comments
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.