TEnumerableBase<T>.TryGetLast(T,TPredicate<T>) Method

Try getting the last element in a sequence that satisfies a specified condition.

Namespace: Spring.Collections.Base
protected
 function TryGetLast(out value: T; const predicate: TPredicate<T>): Boolean; overload;

Parameters

value
Type: T

predicate
Type: TPredicate<T>

Return Value

Type: Boolean

 

Implements

IEnumerable<T>.TryGetLast(T,TPredicate<T>)