min.js 341 B

123456789
  1. /** PURE_IMPORTS_START _reduce PURE_IMPORTS_END */
  2. import { reduce } from './reduce';
  3. export function min(comparer) {
  4. var min = (typeof comparer === 'function')
  5. ? function (x, y) { return comparer(x, y) < 0 ? x : y; }
  6. : function (x, y) { return x < y ? x : y; };
  7. return reduce(min);
  8. }
  9. //# sourceMappingURL=min.js.map