Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

partition.js 426B

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