( entry: AllowedMcpServerEntry | DeniedMcpServerEntry, )
| 1107 | * Type guard for MCP server entry with serverName |
| 1108 | */ |
| 1109 | export function isMcpServerNameEntry( |
| 1110 | entry: AllowedMcpServerEntry | DeniedMcpServerEntry, |
| 1111 | ): entry is { serverName: string } { |
| 1112 | return 'serverName' in entry && entry.serverName !== undefined |
| 1113 | } |
| 1114 | |
| 1115 | /** |
| 1116 | * Type guard for MCP server entry with serverCommand |
no outgoing calls
no test coverage detected