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 615B

12345678910111213141516171819
  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