MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / isExpressResponse

Function isExpressResponse

packages/nestjs/src/index.ts:230–235  ·  view source on GitHub ↗

* Type guard for Express with unique checks

(res: unknown)

Source from the content-addressed store, hash-verified

228 * Type guard for Express with unique checks
229 */
230function 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

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…