()
| 90 | let value, point, prevValue; |
| 91 | |
| 92 | const startIsBefore = () => between(startBound, prevValue, value) && compare(startBound, prevValue) !== 0; |
| 93 | const endIsBefore = () => compare(endBound, value) === 0 || between(endBound, prevValue, value); |
| 94 | const shouldStart = () => inside || startIsBefore(); |
| 95 | const shouldStop = () => !inside || endIsBefore(); |