TEnumerableBase<T>.TryGetFirst(T,TPredicate<T>) Method
Try getting the first element in a sequence that satisfies a specified condition.
protected function TryGetFirst(out value: T; const predicate: TPredicate<T>): Boolean; overload;
Parameters
- value
- Type: T
- predicate
- Type: TPredicate<T>
Return Value
Type: Boolean