MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / categoryIndex

Method categoryIndex

src/utils/scales.ts:69–69  ·  view source on GitHub ↗

* Returns the index of a category in the current domain. * * Edge cases: * - Unknown category: returns -1

(category: string)

Source from the content-addressed store, hash-verified

67 * - Unknown category: returns -1
68 */
69 categoryIndex(category: string): number;
70}
71
72const assertFinite = (label: string, value: number): void => {

Callers 1

scaleFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected