Rx.Observable.prototype.maxBy(keySelector, [comparer])
Returns the maximum value in an observable sequence according to the specified comparer.
Arguments
keySelector
(Function
): Key selector function.[comparer]
(Function
): Comparer used to compare elements.
Returns
(Observable
): An observable sequence containing a list of zero or more elements that have a maximum key value.