TryFind
Returns the first element for which the given predicate
function returns true
.
Returns an Option<T>
that IsNone
if no such element exists.
Parameters | Returns |
Func<T, bool> predicate IEnumerable<T> source | Option<T> |
Usage
Getting an element
When there is no element that satisfies the condition
Last updated