(value: unknown)
| 5 | const logger = createLogger('GoogleFormsUtils') |
| 6 | |
| 7 | function isRecord(value: unknown): value is Record<string, unknown> { |
| 8 | return value !== null && typeof value === 'object' |
| 9 | } |
| 10 | |
| 11 | export function getGoogleFormsErrorMessage(data: unknown, fallback: string): string { |
| 12 | if (!isRecord(data)) return fallback |
no outgoing calls
no test coverage detected