MCPcopy Create free account
hub / github.com/d3/d3-array / copy2

Function copy2

test/blur-test.js:196–198  ·  view source on GitHub ↗
({data, width, height})

Source from the content-addressed store, hash-verified

194});
195
196function copy2({data, width, height}) {
197 return {data: data.slice(), width, height};
198}
199
200function round(x) {
201 return Math.round(x * 1000) / 1000 || 0;

Callers 1

blur-test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…