source: trip-planner-front/node_modules/rxjs/internal/operators/startWith.js@ 6fe77af

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

initial commit

  • Property mode set to 100644
File size: 685 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var concat_1 = require("../observable/concat");
4var isScheduler_1 = require("../util/isScheduler");
5function startWith() {
6 var array = [];
7 for (var _i = 0; _i < arguments.length; _i++) {
8 array[_i] = arguments[_i];
9 }
10 var scheduler = array[array.length - 1];
11 if (isScheduler_1.isScheduler(scheduler)) {
12 array.pop();
13 return function (source) { return concat_1.concat(array, source, scheduler); };
14 }
15 else {
16 return function (source) { return concat_1.concat(array, source); };
17 }
18}
19exports.startWith = startWith;
20//# sourceMappingURL=startWith.js.map
Note: See TracBrowser for help on using the repository browser.