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

Function isTupleDataPoint

src/ChartGPU.ts:158–158  ·  view source on GitHub ↗
(p: DataPoint)

Source from the content-addressed store, hash-verified

156type Bounds = Readonly<{ xMin: number; xMax: number; yMin: number; yMax: number }>;
157
158const isTupleDataPoint = (p: DataPoint): p is DataPointTuple => Array.isArray(p);
159const isTupleOHLCDataPoint = (p: OHLCDataPoint): p is OHLCDataPointTuple => Array.isArray(p);
160
161const getPointXY = (p: DataPoint): { readonly x: number; readonly y: number } => {

Callers 1

getPointXYFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected