(p: OHLCDataPoint)
| 820 | }; |
| 821 | |
| 822 | function 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. |
| 827 | const monotonicTimestampCache = new WeakMap<ReadonlyArray<OHLCDataPoint>, boolean>(); |
no outgoing calls
no test coverage detected