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

Function formatRange

docs/tests/v2/es6/js/sanddance.js:110445–110452  ·  view source on GitHub ↗
(format)

Source from the content-addressed store, hash-verified

110443}
110444
110445function formatRange(format) {
110446 return function (value, index, array) {
110447 var limit = array[index + 1] || array.max || +Infinity,
110448 lo = formatValue(value, format),
110449 hi = formatValue(limit, format);
110450 return lo && hi ? lo + '\u2013' + hi : hi ? '< ' + hi : '\u2265 ' + lo;
110451 };
110452}
110453
110454function formatDiscrete(format) {
110455 return function (value, index) {

Callers 1

labelFormatFunction · 0.70

Calls 1

formatValueFunction · 0.70

Tested by

no test coverage detected