lowerBound()

in lib/index.js [194:199]


  lowerBound(sum) {
    if (this._countNeg > 0) {
      throw new Error('Sequence is not non-descending');
    }
    return this._find(sum, (x, y) => x < y);
  }