MCPcopy
hub / github.com/chartjs/Chart.js / itemsEqual

Function itemsEqual

src/plugins/plugin.legend.js:39–39  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

37};
38
39const itemsEqual = (a, b) => a !== null && b !== null && a.datasetIndex === b.datasetIndex && a.index === b.index;
40
41export class Legend extends Element {
42

Callers 1

handleEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected