From e4fa1e69e7ebfb627c7198fd1a9881e9327ec4d4 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sat, 28 Jun 2025 17:26:46 -0700 Subject: initial commit: scaffolding --- node_modules/rxjs/dist/cjs/internal/operators/max.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 node_modules/rxjs/dist/cjs/internal/operators/max.js (limited to 'node_modules/rxjs/dist/cjs/internal/operators/max.js') diff --git a/node_modules/rxjs/dist/cjs/internal/operators/max.js b/node_modules/rxjs/dist/cjs/internal/operators/max.js new file mode 100644 index 0000000..29ba768 --- /dev/null +++ b/node_modules/rxjs/dist/cjs/internal/operators/max.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.max = void 0; +var reduce_1 = require("./reduce"); +var isFunction_1 = require("../util/isFunction"); +function max(comparer) { + return reduce_1.reduce(isFunction_1.isFunction(comparer) ? function (x, y) { return (comparer(x, y) > 0 ? x : y); } : function (x, y) { return (x > y ? x : y); }); +} +exports.max = max; +//# sourceMappingURL=max.js.map \ No newline at end of file -- cgit v1.2.3