(value: unknown)
| 91 | const CHART_TYPES = new Set<ChartType>(['bar', 'line', 'pie', 'heatmap']) |
| 92 | |
| 93 | function isRecord(value: unknown): value is Record<string, unknown> { |
| 94 | return typeof value === 'object' && value !== null && !Array.isArray(value) |
| 95 | } |
| 96 | |
| 97 | function asFieldName(value: unknown, label: string): string { |
| 98 | if (typeof value !== 'string' || value.trim().length === 0) { |
no outgoing calls
no test coverage detected