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

Method containName

src/visual/LegendVisualProvider.ts:49–52  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

47 }
48
49 containName(name: string): boolean {
50 const rawData = this._getRawData();
51 return rawData.indexOfName(name) >= 0;
52 }
53
54 indexOfName(name: string): number {
55 // Only get data when necessary.

Callers 1

renderInnerMethod · 0.80

Calls 1

indexOfNameMethod · 0.45

Tested by

no test coverage detected