Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AgnosticRouteMatch

A RouteMatch contains info about how a route matched a URL.

interface AgnosticRouteMatch <ParamKey extends string = string, RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject> {
params: Params<ParamKey>;
pathname: string;
pathnameBase: string;
route: RouteObjectType;
}

§Type Parameters

§
ParamKey extends string = string
[src]

§Properties

§
params: Params<ParamKey>
[src]

The names and values of dynamic parameters in the URL.

§
pathname: string
[src]

The portion of the URL pathname that was matched.

§
pathnameBase: string
[src]

The portion of the URL pathname that was matched before child routes.

§
route: RouteObjectType
[src]

The route object that was used to match.