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

LocalizeFn

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

Individual localize function. Part of Localize.

type LocalizeFn<Value extends LocaleUnitValue | number> = (value: Value, options?: LocalizeFnOptions) => string;

§Type Parameters

§
Value extends LocaleUnitValue | number
[src]

§Type

§
(value: Value, options?: LocalizeFnOptions) => string
[src]