LastOperator<T> extension

on

Methods

findLast(Predicate1<T> predicate) Observable<T>
Emits the last item of this Observable matching the predicate, or emits an TooFewError otherwise.
findLastOrDefault(Predicate1<T> predicate, T value) Observable<T>
Emits the last item of this Observable matching the predicate, or the provided default value otherwise.
findLastOrElse(Predicate1<T> predicate, Map0<T> callback) Observable<T>
Emits the last item of this Observable matching the predicate, or evaluate the provided callback otherwise.
last() Observable<T>
Emits the last item of this Observable, or emits an TooFewError otherwise.
lastOrDefault(T value) Observable<T>
Emits the last item of this Observable, or the provided default value otherwise.
lastOrElse(Map0<T> callback) Observable<T>
Emits the last item of this Observable, or evaluate the provided callback otherwise.