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

FormatPart

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

A format part that represents a token or string literal, used by format parser/tokenizer

interface FormatPart {
isToken: boolean;
value: string;
}

§Properties

§
isToken: boolean
[src]

If the part is a format token.

§
value: string
[src]

The format part value (i.e. "do").