MCPcopy Create free account
hub / github.com/chartjs/Chart.js / endIsBefore

Function endIsBefore

src/helpers/helpers.segment.js:93–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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();
96

Callers 1

shouldStopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected