MCPcopy Create free account
hub / github.com/breck7/scroll / union

Function union

external/.d3.js:1367–1375  ·  view source on GitHub ↗
(...others)

Source from the content-addressed store, hash-verified

1365}
1366
1367function union(...others) {
1368 const set = new InternSet();
1369 for (const other of others) {
1370 for (const o of other) {
1371 set.add(o);
1372 }
1373 }
1374 return set;
1375}
1376
1377function identity$8(x) {
1378 return x;

Callers

nothing calls this directly

Calls 1

addMethod · 0.95

Tested by

no test coverage detected