* Type guard for Fastify with unique checks
(res: unknown)
| 238 | * Type guard for Fastify with unique checks |
| 239 | */ |
| 240 | function isFastifyReply(res: unknown): res is FastifyReply { |
| 241 | return ( |
| 242 | typeof (res as FastifyReply)?.code === "function" && |
| 243 | typeof (res as FastifyReply)?.headers === "function" |
| 244 | ); |
| 245 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…