(p: DataPoint)
| 94 | |
| 95 | // Type guard (avoid relying on Array.isArray narrowing for readonly tuples in strict TS configs). |
| 96 | const isTupleDataPoint = (p: DataPoint): p is DataPointTuple => Array.isArray(p); |
| 97 | |
| 98 | const packDataPointsWithXOffset = (points: ReadonlyArray<DataPoint>, xOffset: number): Float32Array => { |
| 99 | if (!points || points.length === 0) return new Float32Array(0); |
no outgoing calls
no test coverage detected