Min determines and emits the minimum-valued item emitted by an Observable according to a comparator.
(comparator Comparator, opts ...Option)
| 1559 | |
| 1560 | // Min determines and emits the minimum-valued item emitted by an Observable according to a comparator. |
| 1561 | func (o *ObservableImpl) Min(comparator Comparator, opts ...Option) OptionalSingle { |
| 1562 | return optionalSingle(o.parent, o, func() operator { |
| 1563 | return &minOperator{ |
| 1564 | comparator: comparator, |
| 1565 | empty: true, |
| 1566 | } |
| 1567 | }, false, false, opts...) |
| 1568 | } |
| 1569 | |
| 1570 | type minOperator struct { |
| 1571 | comparator Comparator |
nothing calls this directly
no test coverage detected