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

Function thresholdValues

docs/tests/v2/es6/js/sanddance.js:110424–110428  ·  view source on GitHub ↗
(thresholds)

Source from the content-addressed store, hash-verified

110422}
110423
110424function thresholdValues(thresholds) {
110425 const values = [-Infinity].concat(thresholds);
110426 values.max = +Infinity;
110427 return values;
110428}
110429
110430function binValues(bins) {
110431 const values = bins.slice(0, -1);

Callers 1

labelValuesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected