source: trip-planner-front/node_modules/rxjs/_esm2015/internal/observable/of.js@ 6a3a178

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

initial commit

  • Property mode set to 100644
File size: 413 bytes
Line 
1import { isScheduler } from '../util/isScheduler';
2import { fromArray } from './fromArray';
3import { scheduleArray } from '../scheduled/scheduleArray';
4export function of(...args) {
5 let scheduler = args[args.length - 1];
6 if (isScheduler(scheduler)) {
7 args.pop();
8 return scheduleArray(args, scheduler);
9 }
10 else {
11 return fromArray(args);
12 }
13}
14//# sourceMappingURL=of.js.map
Note: See TracBrowser for help on using the repository browser.