Rx.Observable.prototype.max([comparer])
Returns the maximum value in an observable sequence according to the specified comparer.
参数
[comparer]
(Function
): Comparer used to compare elements.
返回值
(Observable
): An observable sequence containing a single element with the maximum element in the source sequence.