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

MatchValueCallback

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

The function that allows to map the matched value to the actual type.

type MatchValueCallback<Arg, Result> = (value: Arg) => Result;

§Type Parameters

§
Result
[src]

§Type

§
(value: Arg) => Result
[src]