11 lines
330 B
JavaScript
11 lines
330 B
JavaScript
"use strict";
|
|
var not_1 = require('../util/not');
|
|
var filter_1 = require('./filter');
|
|
function partition(predicate, thisArg) {
|
|
return [
|
|
filter_1.filter.call(this, predicate),
|
|
filter_1.filter.call(this, not_1.not(predicate, thisArg))
|
|
];
|
|
}
|
|
exports.partition = partition;
|
|
//# sourceMappingURL=partition.js.map
|