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

match

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

Transform a path into a match function.

function match<P extends ParamData>(path: Path | Path[], options?: MatchOptions & ParseOptions): MatchFunction<P>;
§
match<P extends ParamData>(path: Path | Path[], options?: MatchOptions & ParseOptions): MatchFunction<P>
[src]

§Type Parameters

§Parameters

§
path: Path | Path[]
[src]
§
options?: MatchOptions & ParseOptions optional
[src]