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

Function flatIterable

external/.d3.js:8108–8115  ·  view source on GitHub ↗
(points, fx, fy, that)

Source from the content-addressed store, hash-verified

8106}
8107
8108function* flatIterable(points, fx, fy, that) {
8109 let i = 0;
8110 for (const p of points) {
8111 yield fx.call(that, p, i, points);
8112 yield fy.call(that, p, i, points);
8113 ++i;
8114 }
8115}
8116
8117var EOL = {},
8118 EOF = {},

Callers 1

fromMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected