Min

See also

  • Official ReactiveX documentation: Min
Observable.min(comparer=None)

Returns the minimum element in an observable sequence according to the optional comparer else a default greater than less than check.

Example res = source.min() res = source.min(lambda x, y: x.value - y.value)

comparer – {Function} [Optional] Comparer used to compare elements.

Returns an observable sequence {Observable} containing a single element with the minimum element in the source sequence.

../../_images/min.png