diff options
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/max.js')
-rw-r--r-- | sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/max.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/max.js b/sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/max.js new file mode 100644 index 00000000..a91824d8 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/max.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var reduce_1 = require("./reduce"); +function max(comparer) { + var max = (typeof comparer === 'function') + ? function (x, y) { return comparer(x, y) > 0 ? x : y; } + : function (x, y) { return x > y ? x : y; }; + return reduce_1.reduce(max); +} +exports.max = max; +//# sourceMappingURL=max.js.map
\ No newline at end of file |