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

Function isTSVFormat

src/component/toolbox/feature/DataView.ts:191–197  ·  view source on GitHub ↗

* If a block is tsv format

(block: string)

Source from the content-addressed store, hash-verified

189 * If a block is tsv format
190 */
191function isTSVFormat(block: string): boolean {
192 // Simple method to find out if a block is tsv format
193 const firstLine = block.slice(0, block.indexOf('\n'));
194 if (firstLine.indexOf(ITEM_SPLITER) >= 0) {
195 return true;
196 }
197}
198
199const itemSplitRegex = new RegExp('[' + ITEM_SPLITER + ']+', 'g');
200/**

Callers 1

parseContentsFunction · 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…