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

FPFn4

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

FP function interface with 4 arguments.

interface FPFn4 <Result, Arg4, Arg3, Arg2, Arg1> {
(): FPFn4<Result, Arg4, Arg3, Arg2, Arg1>;
(arg4: Arg4): FPFn3<Result, Arg3, Arg2, Arg1>;
(arg4: Arg4, arg3: Arg3): FPFn2<Result, Arg2, Arg1>;
(
arg4: Arg4,
arg3: Arg3,
arg2: Arg2,
): FPFn1<Result, Arg1>;
(
arg4: Arg4,
arg3: Arg3,
arg2: Arg2,
arg1: Arg1,
): Result;
}

§Type Parameters

§
Result
[src]

§Call Signatures

§
(): FPFn4<Result, Arg4, Arg3, Arg2, Arg1>
[src]

Curried version of the function. Returns itself.

§
(arg4: Arg4): FPFn3<Result, Arg3, Arg2, Arg1>
[src]

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

§
(arg4: Arg4, arg3: Arg3): FPFn2<Result, Arg2, Arg1>
[src]

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

§
(arg4: Arg4, arg3: Arg3, arg2: Arg2): FPFn1<Result, Arg1>
[src]

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

§
(arg4: Arg4, arg3: Arg3, arg2: Arg2, arg1: Arg1): Result
[src]

Returns the result of the function call.