(value: unknown)
| 12 | } |
| 13 | |
| 14 | function isRecord(value: unknown): value is Record<string, unknown> { |
| 15 | return typeof value === 'object' && value !== null && !Array.isArray(value); |
| 16 | } |
| 17 | |
| 18 | function normalizeActiveProfile(activeProfile: unknown, profiles: ProfilesData['profiles']): string | null { |
| 19 | if (typeof activeProfile !== 'string') return null; |
no outgoing calls
no test coverage detected