Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
type alias MatchFunction
import { type MatchFunction } from "https://deno.land/x/frugal@0.2.1/dep/path-to-regexp.ts";

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

Type Parameters

optional
P extends object = object
definition: (path: string) => Match<P>