source: trip-planner-front/node_modules/rxjs/internal/operators/combineLatest.js@ fa375fe

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

initial commit

  • Property mode set to 100644
File size: 891 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var isArray_1 = require("../util/isArray");
4var combineLatest_1 = require("../observable/combineLatest");
5var from_1 = require("../observable/from");
6var none = {};
7function combineLatest() {
8 var observables = [];
9 for (var _i = 0; _i < arguments.length; _i++) {
10 observables[_i] = arguments[_i];
11 }
12 var project = null;
13 if (typeof observables[observables.length - 1] === 'function') {
14 project = observables.pop();
15 }
16 if (observables.length === 1 && isArray_1.isArray(observables[0])) {
17 observables = observables[0].slice();
18 }
19 return function (source) { return source.lift.call(from_1.from([source].concat(observables)), new combineLatest_1.CombineLatestOperator(project)); };
20}
21exports.combineLatest = combineLatest;
22//# sourceMappingURL=combineLatest.js.map
Note: See TracBrowser for help on using the repository browser.