(value: string | null | undefined)
| 2189 | } |
| 2190 | |
| 2191 | function normalizeText(value: string | null | undefined): string | null { |
| 2192 | if (typeof value !== 'string') { |
| 2193 | return null; |
| 2194 | } |
| 2195 | const trimmed = value.trim(); |
| 2196 | return trimmed.length > 0 ? trimmed : null; |
| 2197 | } |
| 2198 | |
| 2199 | function isTerminalAttemptStatus(status: MissionAttempt['status']): boolean { |
| 2200 | return ( |
no outgoing calls
no test coverage detected