mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
12 lines
426 B
JavaScript
12 lines
426 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
var not_1 = require("../util/not");
|
|
var filter_1 = require("./filter");
|
|
function partition(predicate, thisArg) {
|
|
return function (source) { return [
|
|
filter_1.filter(predicate, thisArg)(source),
|
|
filter_1.filter(not_1.not(predicate, thisArg))(source)
|
|
]; };
|
|
}
|
|
exports.partition = partition;
|
|
//# sourceMappingURL=partition.js.map
|