Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
413 bytes
|
Line | |
---|
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 |
---|
Note:
See
TracBrowser
for help on using the repository browser.