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

Function isNotInOrder

src/core/core.datasetController.js:237–239  ·  view source on GitHub ↗
(cur, prev, iAxis)

Source from the content-addressed store, hash-verified

235}
236
237function isNotInOrder(cur, prev, iAxis) {
238 return cur[iAxis] === null || (prev && cur[iAxis] < prev[iAxis]);
239}
240
241const isDirectUpdateMode = (mode) => mode === 'reset' || mode === 'none';
242const cloneIfNotShared = (cached, shared) => shared ? cached : Object.assign({}, cached);

Callers 1

parseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected