MCPcopy Create free account
hub / github.com/chartjs/Chart.js / startEnd

Function startEnd

src/controllers/controller.bar.ts:374–376  ·  view source on GitHub ↗
(v: string, start: string, end: string)

Source from the content-addressed store, hash-verified

372}
373
374function startEnd(v: string, start: string, end: string) {
375 return v === 'start' ? start : v === 'end' ? end : v;
376}
377
378function setInflateAmount(properties: BarProperties, {inflateAmount}: BarEdgeOptions, ratio: number) {
379 properties.inflateAmount = inflateAmount === 'auto'

Callers 1

parseEdgeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected