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

Function isArrayLike

_benchmarks/sample_echarts.js:349–357  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

347 }
348 }
349 function isArrayLike(data) {
350 if (!data) {
351 return false;
352 }
353 if (typeof data === 'string') {
354 return false;
355 }
356 return typeof data.length === 'number';
357 }
358 function each(arr, cb, context) {
359 if (!(arr && cb)) {
360 return;

Callers 11

cloneValueFunction · 0.70
guessArrayDimFunction · 0.70
sample_echarts.jsFile · 0.70
is2DArrayFunction · 0.70
copyValueFunction · 0.70
animateToShallowFunction · 0.70
blurSeriesFunction · 0.70
applyTransform$1Function · 0.70
detectSourceFormatFunction · 0.70
isObjectNotArrayFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…