(p: OHLCDataPoint)
| 65 | ): p is readonly [timestamp: number, open: number, close: number, low: number, high: number] => Array.isArray(p); |
| 66 | |
| 67 | const getTimestamp = (p: OHLCDataPoint): number => (isTupleOHLCDataPoint(p) ? p[0] : p.timestamp); |
| 68 | const getClose = (p: OHLCDataPoint): number => (isTupleOHLCDataPoint(p) ? p[2] : p.close); |
| 69 | |
| 70 | // Get appropriate dataZoom config based on candle count |
no test coverage detected