src/range.js
// Here and in other Range classes, returned array is ordered list of non-overlapping ranges.
Here and in other Range classes, returned array is ordered list of non-overlapping ranges.
Here and in other Range classes returned array is ordered list of non - overlapping ranges .
prepare(context) {
    if (this.lower === undefined || this.upper === undefined) {
      return [this];
    } else {
      let c = cmp(this.lower, this.upper);
      if (c < 0 || (c === 0 && !this.lowerOpen && !this.upperOpen))
        return [this];
      else
        return [];
    }
  }
prepare ( context ) { if ( this . lower === undefined || this . upper === undefined ) { return [ this ] ; } else { let c = cmp ( this . lower , this . upper ) ; if ( c < 0 || ( c === 0 && ! this . lowerOpen && ! this . upperOpen ) ) return [ this ] ; else return [ ] ; } }
Here and in other Range classes, returned array is ordered list of non-overlapping ranges.
Here and in other Range classes returned array is ordered list of non - overlapping ranges .