(value: unknown)
| 88 | } |
| 89 | |
| 90 | function readText(value: unknown): string | undefined { |
| 91 | return typeof value === 'string' && value.trim().length > 0 ? value.trim() : undefined; |
| 92 | } |
| 93 | |
| 94 | function readRequiredText(value: unknown, field: string): string { |
| 95 | const text = readText(value); |
no outgoing calls
no test coverage detected
searching dependent graphs…