packages/flip-toolkit/src/forked-rebound/Spring.js
/**
   * Check if the Spring has gone past its end point by comparing
   * the direction it was moving in when it started to the current
   * position and end value.
   * @public
   */
Check if the Spring has gone past its end point by comparing
the direction it was moving in when it started to the current
position and end value.
@public
Check if the Spring has gone past its end point by comparing the direction it was moving in when it started to the current position and end value . @public
isOvershooting() {
    const start = this._startValue
    const end = this._endValue
    return (
      this._springConfig.tension > 0 &&
      ((start < end && this.getCurrentValue() > end) ||
        (start > end && this.getCurrentValue() < end))
    )
  }
isOvershooting ( ) { const start = this . _startValue const end = this . _endValue return ( this . _springConfig . tension > 0 && ( ( start < end && this . getCurrentValue ( ) > end ) || ( start > end && this . getCurrentValue ( ) < end ) ) ) }
Check if the Spring has gone past its end point by comparing
 the direction it was moving in when it started to the current
 position and end value.
Check if the Spring has gone past its end point by comparing the direction it was moving in when it started to the current position and end value .