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

FPFn2

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

FP function interface with 2 arguments.

interface FPFn2 <Result, Arg2, Arg1> {
(): FPFn2<Result, Arg2, Arg1>;
(arg2: Arg2): FPFn1<Result, Arg1>;
(arg2: Arg2, arg1: Arg1): Result;
}

§Type Parameters

§
Result
[src]

§Call Signatures

§
(): FPFn2<Result, Arg2, Arg1>
[src]

Curried version of the function. Returns itself.

§
(arg2: Arg2): FPFn1<Result, Arg1>
[src]

Curried version of the function. Returns a function that accepts the rest arguments.

§
(arg2: Arg2, arg1: Arg1): Result
[src]

Returns the result of the function call.