"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.min = void 0;
const reduce_js_1 = require("./reduce.js");
const Observable_js_1 = require("../Observable.js");
function min(comparer) {
    return (0, reduce_js_1.reduce)((0, Observable_js_1.isFunction)(comparer) ? (x, y) => (comparer(x, y) < 0 ? x : y) : (x, y) => (x < y ? x : y));
}
exports.min = min;//# sourceMappingURL=http://go/sourcemap/sourcemaps/63a2996a10d9e476b6c28e951dd7691d9c0cf480/node_modules/rxjs/dist/cjs/internal/operators/min.js.map