Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

max.js 389B

1234567891011
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var reduce_1 = require("./reduce");
  4. function max(comparer) {
  5. var max = (typeof comparer === 'function')
  6. ? function (x, y) { return comparer(x, y) > 0 ? x : y; }
  7. : function (x, y) { return x > y ? x : y; };
  8. return reduce_1.reduce(max);
  9. }
  10. exports.max = max;
  11. //# sourceMappingURL=max.js.map