MCPcopy
hub / github.com/plotly/dash / zipArrays

Function zipArrays

dash/extract-meta.js:131–137  ·  view source on GitHub ↗
(...arrays)

Source from the content-addressed store, hash-verified

129}
130
131function zipArrays(...arrays) {
132 const arr = [];
133 for (let i = 0; i <= arrays[0].length - 1; i++) {
134 arr.push(arrays.map(a => a[i]));
135 }
136 return arr;
137}
138
139function cleanPath(filepath) {
140 return filepath.split(path.sep).join('/');

Callers 1

gatherComponentsFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…