MCPcopy
hub / github.com/fastify/fastify / hasRoute

Method hasRoute

types/instance.d.ts:207–207  ·  view source on GitHub ↗
(opts: Pick<RouteOptions<RawServer, RawRequest, RawReply, RouteGeneric, ContextConfig, SchemaCompiler, TypeProvider>, 'method' | 'url' | 'constraints'>)

Source from the content-addressed store, hash-verified

205 all: RouteShorthandMethod<RawServer, RawRequest, RawReply, TypeProvider, Logger>;
206
207 hasRoute<
208 RouteGeneric extends RouteGenericInterface = RouteGenericInterface,
209 ContextConfig = ContextConfigDefault,
210 SchemaCompiler extends FastifySchema = FastifySchema

Callers 3

hasRouteFunction · 0.80
has-route.test.jsFile · 0.80
route.tst.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected