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

Function val

packages/sanddance-specs/src/facetSearch.ts:6–6  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

4
5export function displayBin(bin: Binnable) {
6 const val = (index: number) => `datum[${JSON.stringify(bin.fields[index])}]`;
7 return bin.discreteColumn.column.quantitative ?
8 `format(${val(0)}, '~r') + ' - ' + format(${val(1)}, '~r')`
9 :

Callers 1

displayBinFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected