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

Match

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

The object with functions used to match and parse various localized values.

interface Match {
day: MatchFn<Day>;
era: MatchFn<Era>;
month: MatchFn<Month>;
ordinalNumber: MatchFn<number, {
unit: LocaleUnit;
}
>
;
quarter: MatchFn<Quarter>;
}

§Properties

§

The function that parses a localized day of the week.

§

The function that parses a localized time of the day.

§

The function that parses a localized era.

§

The function that parses a localized month.

§
ordinalNumber: MatchFn<number, {
unit: LocaleUnit;
}
>
[src]

The function that parses a localized ordinal number.

§

The function that parses a localized quarter.