MCPcopy
hub / github.com/triggerdotdev/trigger.dev / isFastifyReply

Function isFastifyReply

packages/nestjs/src/index.ts:240–245  ·  view source on GitHub ↗

* Type guard for Fastify with unique checks

(res: unknown)

Source from the content-addressed store, hash-verified

238 * Type guard for Fastify with unique checks
239 */
240function isFastifyReply(res: unknown): res is FastifyReply {
241 return (
242 typeof (res as FastifyReply)?.code === "function" &&
243 typeof (res as FastifyReply)?.headers === "function"
244 );
245}

Callers 1

handleRequestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…