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

Applicable

import type { Applicable } from "https://raw.githubusercontent.com/baetheus/fun/main/applicable.ts";

The Applicable interface. This interface includes the methods apply, map, and wrap.

interface Applicable <U extends Kind> extends Mappable<U>, Wrappable<U>, Hold<U> {
readonly apply: <A, B = never, C = never, D = unknown, E = unknown>(ta: $<U, [A, B, C], [D], [E]>) => <I, J = never, K = never, L = unknown>(tfai: $<U, [(value: A) => I, J, K], [L], [E]>) => $<U, [I, B | J, C | K], [D & L], [E]>;
}

§Type Parameters

§
U extends Kind
[src]

§Extends

§Properties

§
readonly apply: <A, B = never, C = never, D = unknown, E = unknown>(ta: $<U, [A, B, C], [D], [E]>) => <I, J = never, K = never, L = unknown>(tfai: $<U, [(value: A) => I, J, K], [L], [E]>) => $<U, [I, B | J, C | K], [D & L], [E]>
[src]