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

Function shouldStop

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

Source from the content-addressed store, hash-verified

93 const endIsBefore = () => compare(endBound, value) === 0 || between(endBound, prevValue, value);
94 const shouldStart = () => inside || startIsBefore();
95 const shouldStop = () => !inside || endIsBefore();
96
97 for (let i = start, prev = start; i <= end; ++i) {
98 point = points[i % count];

Callers 1

_boundSegmentFunction · 0.85

Calls 1

endIsBeforeFunction · 0.85

Tested by

no test coverage detected