Last change
on this file 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 */
|
---|
2 | import { isScheduler } from '../util/isScheduler';
|
---|
3 | import { fromArray } from './fromArray';
|
---|
4 | import { scheduleArray } from '../scheduled/scheduleArray';
|
---|
5 | export 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.