MCPcopy Index your code
hub / github.com/microsoft/SandDance / f

Function f

docs/app/js/sanddance-app.js:116460–116463  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

116458 stop1 += d;
116459 }
116460 const f = function(t) {
116461 let v = (0, _vegaUtil.toNumber)(field(t));
116462 return v == null ? null : v < start ? -Infinity : v > stop1 ? Infinity : (v = Math.max(start, Math.min(v, stop1 - step)), start + step * Math.floor(EPSILON$1 + (v - start) / step));
116463 };
116464 f.start = start;
116465 f.stop = bins.stop;
116466 f.step = step;

Callers 15

formatPrefixFunction · 0.70
settleFunction · 0.70
verbFunction · 0.70
formatStringMethod · 0.70
compareNFunction · 0.70
extentFunction · 0.70
extentIndexFunction · 0.70
stableCompareFunction · 0.70
evaluateFunction · 0.70
customConverterFunction · 0.70
parseRowsFunction · 0.70
sanddance-app.jsFile · 0.70

Calls 3

fieldFunction · 0.70
maxMethod · 0.45
minMethod · 0.45

Tested by

no test coverage detected