source: trip-planner-front/node_modules/rxjs/internal/observable/partition.js@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 624 bytes
RevLine 
[6a3a178]1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var not_1 = require("../util/not");
4var subscribeTo_1 = require("../util/subscribeTo");
5var filter_1 = require("../operators/filter");
6var Observable_1 = require("../Observable");
7function partition(source, predicate, thisArg) {
8 return [
9 filter_1.filter(predicate, thisArg)(new Observable_1.Observable(subscribeTo_1.subscribeTo(source))),
10 filter_1.filter(not_1.not(predicate, thisArg))(new Observable_1.Observable(subscribeTo_1.subscribeTo(source)))
11 ];
12}
13exports.partition = partition;
14//# sourceMappingURL=partition.js.map
Note: See TracBrowser for help on using the repository browser.