MCPcopy
hub / github.com/apache/echarts / getKey

Function getKey

src/chart/custom/CustomView.ts:1454–1457  ·  view source on GitHub ↗
(item: Element, idx: number)

Source from the content-addressed store, hash-verified

1452}
1453
1454function getKey(item: Element, idx: number): string {
1455 const name = item && item.name;
1456 return name != null ? name : GROUP_DIFF_PREFIX + idx;
1457}
1458
1459function processAddUpdate(
1460 this: DataDiffer<DiffGroupContext>,

Callers 3

oldGetKeyMethod · 0.85
groupDataFunction · 0.85
removeDuplicatesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…