(value: unknown)
| 60 | } |
| 61 | |
| 62 | function nonEmptyString(value: unknown): string | undefined { |
| 63 | if (typeof value !== 'string') return undefined; |
| 64 | const trimmed = value.trim(); |
| 65 | return trimmed.length > 0 ? trimmed : undefined; |
| 66 | } |
no outgoing calls
no test coverage detected