code: function range(start, count, scheduler) {
      if (start === void 0) {
          start = 0;
      }
      if (count === void 0) {
          count = 0;
      }
      return new _Observable__WEBPACK_IMPORTED_MODULE_0__["Observable"](function (subscriber) {
          var index = 0;
          var current = start;
          if (scheduler) {
              return scheduler.schedule(dispatch, 0, {
                  index: index, count: count, start: start, subscriber: subscriber
              });
          }
          else {
              do {
                  if (index++ >= count) {
                      subscriber.complete();
                      break;
                  }
                  subscriber.next(current++);
                  if (subscriber.closed) {
                      break;
                  }
              } while (true);
          }
          return undefined;
      });
  }
docs: PURE_IMPORTS_START _Observable PURE_IMPORTS_END