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

Function formatDiscrete

docs/app/js/sanddance-app.js:127260–127260  ·  view source on GitHub ↗
(format4)

Source from the content-addressed store, hash-verified

127258 };
127259const get = (value, dflt)=>value != null ? value : dflt;
127260const formatDiscrete = (format4)=>(value, index)=>index ? format4(value) : null;
127261const formatPoint = (format5)=>(value)=>format5(value);
127262const formatValue = (value, format6)=>Number.isFinite(value) ? format6(value) : null;
127263function labelFraction(scale17) {

Callers 1

labelFormatFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected