* The Min operator operates on an Observable that emits numbers (or items that can be evaluated as numbers), * and when source Observable completes it emits a single item: the item with the smallest number. * * * * @
(comparer)
| 71496 | * @owner Observable |
| 71497 | */ |
| 71498 | function min(comparer) { |
| 71499 | var min = (typeof comparer === 'function') |
| 71500 | ? function (x, y) { return comparer(x, y) < 0 ? x : y; } |
| 71501 | : function (x, y) { return x < y ? x : y; }; |
| 71502 | return this.lift(new reduce_1.ReduceOperator(min)); |
| 71503 | } |
| 71504 | exports.min = min; |
| 71505 | //# sourceMappingURL=min.js.map |
| 71506 |
no outgoing calls
no test coverage detected