(value: string)
| 244 | ]; |
| 245 | |
| 246 | export function isComponentCategory(value: string): value is ComponentCategory { |
| 247 | return (COMPONENT_CATEGORIES as readonly string[]).includes(value); |
| 248 | } |
| 249 | |
| 250 | export function normalizeComponentCategory(value?: string | null): ComponentCategory | null { |
| 251 | if (!value) { |
no outgoing calls
no test coverage detected