"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.filterNot = exports.filterNot_ = void 0;
const Function_1 = require("../../Function");
const filter_1 = require("./filter");
/**
 * Filters this stream by the specified predicate, removing all elements for
 * which the predicate evaluates to true.
 */
function filterNot_(self, pred) {
    return (0, filter_1.filter_)(self, (0, Function_1.not)(pred));
}
exports.filterNot_ = filterNot_;
/**
 * Filters this stream by the specified predicate, removing all elements for
 * which the predicate evaluates to true.
 */
function filterNot(pred) {
    return (self) => filterNot_(self, pred);
}
exports.filterNot = filterNot;
//# sourceMappingURL=filterNot.js.map