source: trip-planner-front/node_modules/rxjs/_esm5/internal/observable/of.js@ 571e0df

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

initial commit

  • Property mode set to 100644
File size: 615 bytes
Line 
1/** PURE_IMPORTS_START _util_isScheduler,_fromArray,_scheduled_scheduleArray PURE_IMPORTS_END */
2import { isScheduler } from '../util/isScheduler';
3import { fromArray } from './fromArray';
4import { scheduleArray } from '../scheduled/scheduleArray';
5export function of() {
6 var args = [];
7 for (var _i = 0; _i < arguments.length; _i++) {
8 args[_i] = arguments[_i];
9 }
10 var scheduler = args[args.length - 1];
11 if (isScheduler(scheduler)) {
12 args.pop();
13 return scheduleArray(args, scheduler);
14 }
15 else {
16 return fromArray(args);
17 }
18}
19//# sourceMappingURL=of.js.map
Note: See TracBrowser for help on using the repository browser.