(p: DataPoint)
| 71 | }; |
| 72 | |
| 73 | const toScatterTuple = (p: DataPoint): ScatterPointTuple => { |
| 74 | if (isTupleDataPoint(p)) return p; |
| 75 | return [p.x, p.y, p.size] as const; |
| 76 | }; |
| 77 | |
| 78 | const safeCallSymbolSize = ( |
| 79 | fn: (value: ScatterPointTuple) => number, |
no test coverage detected