* Type guard for Express with unique checks
(res: unknown)
| 228 | * Type guard for Express with unique checks |
| 229 | */ |
| 230 | function isExpressResponse(res: unknown): res is ExpressResponse { |
| 231 | return ( |
| 232 | typeof (res as ExpressResponse)?.status === "function" && |
| 233 | typeof (res as ExpressResponse)?.render === "function" |
| 234 | ); |
| 235 | } |
| 236 | |
| 237 | /** |
| 238 | * Type guard for Fastify with unique checks |
no outgoing calls
no test coverage detected
searching dependent graphs…