* Type guard to check if a DataPoint is in tuple form.
(point: DataPoint)
| 16 | * Type guard to check if a DataPoint is in tuple form. |
| 17 | */ |
| 18 | function 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. |