Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

of.js 649B

123456789101112131415161718192021
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var isScheduler_1 = require("../util/isScheduler");
  4. var fromArray_1 = require("./fromArray");
  5. var scheduleArray_1 = require("../scheduled/scheduleArray");
  6. function of() {
  7. var args = [];
  8. for (var _i = 0; _i < arguments.length; _i++) {
  9. args[_i] = arguments[_i];
  10. }
  11. var scheduler = args[args.length - 1];
  12. if (isScheduler_1.isScheduler(scheduler)) {
  13. args.pop();
  14. return scheduleArray_1.scheduleArray(args, scheduler);
  15. }
  16. else {
  17. return fromArray_1.fromArray(args);
  18. }
  19. }
  20. exports.of = of;
  21. //# sourceMappingURL=of.js.map