const _Range = class _Range {
  constructor(from, to) {
    this.from = from;
    this.to = to;
    if (from > to) {
      this.from = to;
      this.to = from;
    } else {
      this.from = from;
      this.to = to;
    }
  }
  equals(other) {
    return this.from === other.from && this.to === other.to;
  }
  isEmpty() {
    return this.from === this.to;
  }
  toString() {
    return `(${this.from}, ${this.to})`;
  }
};
_Range.empty = new _Range(0, 0);
let Range = _Range;
export {
  Range
};
//# sourceMappingURL=range.js.map
