(value: string | undefined | null)
| 10 | * Type guard to check if a string is a valid AgentType |
| 11 | */ |
| 12 | export function isValidAgentType(value: string | undefined | null): value is AgentType { |
| 13 | return typeof value === 'string' && VALID_AGENT_TYPES.includes(value as AgentType); |
| 14 | } |
| 15 | |
| 16 | export interface FormatInfo { |
| 17 | name: string; |
no outgoing calls
no test coverage detected