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

MatchFunction

import type { MatchFunction } from "https://raw.githubusercontent.com/pillarjs/path-to-regexp/master/src/index.ts";

The match function takes a string and returns whether it matched the path.

type MatchFunction<P extends object = object> = (path: string) => Match<P>;

§Type Parameters

§
P extends object = object
[src]

§Type

§
(path: string) => Match<P>
[src]