(value: Date | string | null | undefined)
| 3 | } |
| 4 | |
| 5 | export function toISOStringOrNull(value: Date | string | null | undefined): string | null { |
| 6 | if (value === null || value === undefined) { |
| 7 | return null; |
| 8 | } |
| 9 | |
| 10 | return toISOString(value); |
| 11 | } |
no test coverage detected