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

Function isTupleOHLCDataPoint

src/data/ohlcSample.ts:3–5  ·  view source on GitHub ↗
(point: OHLCDataPoint)

Source from the content-addressed store, hash-verified

1import type { OHLCDataPoint, OHLCDataPointTuple } from '../config/types';
2
3function isTupleOHLCDataPoint(point: OHLCDataPoint): point is OHLCDataPointTuple {
4 return Array.isArray(point);
5}
6
7/**
8 * Downsamples OHLC (candlestick) data to a target number of points using bucket aggregation.

Callers 1

ohlcSampleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected