( rowIds: string[], getPoint: (rowId: string) => DataPoint | undefined, )
| 57 | const ISO_DATE = /^\d{4}-\d{2}-\d{2}(?:$|T)/; |
| 58 | |
| 59 | export const getDataPoints = ( |
| 60 | rowIds: string[], |
| 61 | getPoint: (rowId: string) => DataPoint | undefined, |
| 62 | ) => |
| 63 | arrayFilter( |
| 64 | arrayMap(rowIds, getPoint), |
| 65 | (point): point is DataPoint => !isUndefined(point), |
| 66 | ); |
| 67 | |
| 68 | export const getDataPoint = ( |
| 69 | rowId: string, |
no test coverage detected
searching dependent graphs…