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

Function isTupleDataPoint

src/data/packDataPoints.ts:18–20  ·  view source on GitHub ↗

* Type guard to check if a DataPoint is in tuple form.

(point: DataPoint)

Source from the content-addressed store, hash-verified

16 * Type guard to check if a DataPoint is in tuple form.
17 */
18function isTupleDataPoint(point: DataPoint): point is DataPointTuple {
19 return Array.isArray(point);
20}
21
22/**
23 * Type guard to check if an OHLCDataPoint is in tuple form.

Callers 1

packDataPointsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected