Bones/node_modules/rxjs/operator/partition.js

11 lines
330 B
JavaScript
Raw Normal View History

2017-05-17 13:45:25 -04:00
"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