source: trip-planner-front/node_modules/rxjs/_esm2015/internal/operators/min.js@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 255 bytes
Line 
1import { reduce } from './reduce';
2export function min(comparer) {
3 const min = (typeof comparer === 'function')
4 ? (x, y) => comparer(x, y) < 0 ? x : y
5 : (x, y) => x < y ? x : y;
6 return reduce(min);
7}
8//# sourceMappingURL=min.js.map
Note: See TracBrowser for help on using the repository browser.