source: trip-planner-front/node_modules/rxjs/internal/observable/of.js@ bdd6491

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

initial commit

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