MCPcopy Create free account
hub / github.com/ChartGPU/ChartGPU / isTupleOHLCDataPoint

Function isTupleOHLCDataPoint

src/core/createRenderCoordinator.ts:822–824  ·  view source on GitHub ↗
(p: OHLCDataPoint)

Source from the content-addressed store, hash-verified

820};
821
822function isTupleOHLCDataPoint(p: OHLCDataPoint): p is OHLCDataPointTuple {
823 return Array.isArray(p);
824}
825
826// Cache monotonicity checks to avoid O(n) scans on every zoom operation.
827const monotonicTimestampCache = new WeakMap<ReadonlyArray<OHLCDataPoint>, boolean>();

Calls

no outgoing calls

Tested by

no test coverage detected