(value: unknown)
| 153 | } |
| 154 | |
| 155 | function isRecord(value: unknown): value is Record<string, unknown> { |
| 156 | return typeof value === 'object' && value !== null |
| 157 | } |
| 158 | |
| 159 | function extractTextFromMessageItem(item: unknown): string { |
| 160 | if (!isRecord(item)) { |
no outgoing calls
no test coverage detected