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

MatchFn

The match function. Part of Match. Implements matcher for particular unit type.

type MatchFn<Result, ExtraOptions = Record<string, unknown>> = (str: string, options?: MatchFnOptions<Result> & ExtraOptions) => MatchFnResult<Result> | null;

§Type Parameters

§
Result
[src]
§
ExtraOptions = Record<string, unknown>
[src]

§Type

§
(str: string, options?: MatchFnOptions<Result> & ExtraOptions) => MatchFnResult<Result> | null
[src]