MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / isArrayLike

Function isArrayLike

libs/echarts/echarts-en.simple.js:515–523  ·  view source on GitHub ↗

* Consider typed array. * @param {Array|TypedArray} data

(data)

Source from the content-addressed store, hash-verified

513 * @param {Array|TypedArray} data
514 */
515function isArrayLike(data) {
516 if (!data) {
517 return;
518 }
519 if (typeof data === 'string') {
520 return false;
521 }
522 return typeof data.length === 'number';
523}
524
525/**
526 * 数组或对象遍历

Callers 7

cloneValueFunction · 0.70
getArrayDimFunction · 0.70
createTrackClipFunction · 0.70
animateToShallowFunction · 0.70
applyTransform$1Function · 0.70
detectSourceFormatFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected