Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / _esm2015 / internal / observable / of.js
1 import { isScheduler } from '../util/isScheduler';
2 import { fromArray } from './fromArray';
3 import { scheduleArray } from '../scheduled/scheduleArray';
4 export 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