MCPcopy Index your code
hub / github.com/plotly/plotly.js / _rowLength

Function _rowLength

src/lib/array.js:264–277  ·  view source on GitHub ↗
(z, fn, len0)

Source from the content-addressed store, hash-verified

262};
263
264function _rowLength(z, fn, len0) {
265 if(isArrayOrTypedArray(z)) {
266 if(isArrayOrTypedArray(z[0])) {
267 var len = len0;
268 for(var i = 0; i < z.length; i++) {
269 len = fn(len, z[i].length);
270 }
271 return len;
272 } else {
273 return z.length;
274 }
275 }
276 return 0;
277}

Callers 1

array.jsFile · 0.85

Calls 2

isArrayOrTypedArrayFunction · 0.70
fnFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…