MCPcopy Create free account
hub / github.com/microsoft/SandDance / flatIterable

Function flatIterable

docs/app/js/sanddance-app.js:139842–139849  ·  view source on GitHub ↗
(points, fx, fy, that)

Source from the content-addressed store, hash-verified

139840 return array;
139841}
139842function* flatIterable(points, fx, fy, that) {
139843 let i = 0;
139844 for (const p of points){
139845 yield fx.call(that, p, i, points);
139846 yield fy.call(that, p, i, points);
139847 ++i;
139848 }
139849}
139850
139851},{"delaunator":"dz3p9","./path.js":"deeck","./polygon.js":"1aYy2","./voronoi.js":"2t78D","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"dz3p9":[function(require,module,exports) {
139852var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers 1

fromMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected