Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

of.js 413B

1234567891011121314
  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