source: trip-planner-front/node_modules/rxjs/internal/operators/max.js@ eed0bf8

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

initial commit

  • Property mode set to 100644
File size: 388 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var reduce_1 = require("./reduce");
4function 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}
10exports.max = max;
11//# sourceMappingURL=max.js.map
Note: See TracBrowser for help on using the repository browser.