MCPcopy
hub / github.com/tdewolff/minify / isDataItemOption

Function isDataItemOption

_benchmarks/sample_echarts.js:7291–7294  ·  view source on GitHub ↗

* data could be [12, 2323, {value: 223}, [1221, 23], {value: [2, 23]}] * This helper method determine if dataItem has extra option besides value

(dataItem)

Source from the content-addressed store, hash-verified

7289 */
7290
7291 function isDataItemOption(dataItem) {
7292 return isObject(dataItem) && !(dataItem instanceof Array); // // markLine data can be array
7293 // && !(dataItem[0] && isObject(dataItem[0]) && !(dataItem[0] instanceof Array));
7294 }
7295 /**
7296 * Mapping to existings for merge.
7297 *

Callers 1

sample_echarts.jsFile · 0.85

Calls 1

isObjectFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…