| 1 |
"use strict"; |
| 2 |
Object.defineProperty(exports, "__esModule", { value: true }); |
| 3 |
exports.partition = void 0; |
| 4 |
var not_1 = require("../util/not"); |
| 5 |
var filter_1 = require("../operators/filter"); |
| 6 |
var innerFrom_1 = require("./innerFrom"); |
| 7 |
function partition(source, predicate, thisArg) { |
| 8 |
return [filter_1.filter(predicate, thisArg)(innerFrom_1.innerFrom(source)), filter_1.filter(not_1.not(predicate, thisArg))(innerFrom_1.innerFrom(source))]; |
| 9 |
} |
| 10 |
exports.partition = partition; |
| 11 |
//# sourceMappingURL=partition.js.map |