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

Function flatIterable

docs/tests/v2/es6/js/sanddance.js:125011–125019  ·  view source on GitHub ↗
(points, fx, fy, that)

Source from the content-addressed store, hash-verified

125009}
125010
125011function* flatIterable(points, fx, fy, that) {
125012 let i = 0;
125013
125014 for (const p of points) {
125015 yield fx.call(that, p, i, points);
125016 yield fy.call(that, p, i, points);
125017 ++i;
125018 }
125019}
125020},{"delaunator":"GBJ0","./path.js":"b21u","./polygon.js":"LwIm","./voronoi.js":"WZ0m"}],"fQOh":[function(require,module,exports) {
125021"use strict";
125022

Callers 1

sanddance.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected