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)) {
8 return scheduleArray(args, scheduler);
11 return fromArray(args);
14 //# sourceMappingURL=of.js.map