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

MatchFnResult

import type { MatchFnResult } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";

The MatchFn function result.

interface MatchFnResult <Result> {
rest: string;
value: Result;
}

§Type Parameters

§
Result
[src]

§Properties

§
rest: string
[src]

The remaining string after parsing

§
value: Result
[src]

The matched value parsed as the corresponding unit type