MCPcopy
hub / github.com/microsoft/SandDance / f

Function f

docs/tests/v2/es6/js/sanddance.js:89134–89143  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

89132 }
89133
89134 var f = function (t) {
89135 var v = field(t);
89136
89137 if (v == null) {
89138 return null;
89139 } else {
89140 v = Math.max(start, Math.min(+v, stop - step));
89141 return start + step * Math.floor(EPSILON + (v - start) / step);
89142 }
89143 };
89144
89145 f.start = start;
89146 f.stop = stop;

Callers 15

sanddance.jsFile · 0.70
_defaultFunction · 0.70
stableCompareFunction · 0.70
changesetFunction · 0.70
customConverterFunction · 0.70
parseRowsFunction · 0.70
ascendingComparatorFunction · 0.70
pointFunction · 0.70
getFunction · 0.70
FacetFunction · 0.70
getFieldFunction · 0.70
skipFunction · 0.70

Calls 3

fieldFunction · 0.50
maxMethod · 0.45
minMethod · 0.45

Tested by

no test coverage detected