MCPcopy
hub / github.com/plotly/plotly.js / paste

Function paste

src/components/fx/calc.js:47–53  ·  view source on GitHub ↗
(traceAttr, cd, cdAttr, fn)

Source from the content-addressed store, hash-verified

45};
46
47function paste(traceAttr, cd, cdAttr, fn) {
48 fn = fn || Lib.identity;
49
50 if(Array.isArray(traceAttr)) {
51 cd[0][cdAttr] = fn(traceAttr);
52 }
53}

Callers

nothing calls this directly

Calls 1

fnFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…