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

Bimappable

import type { Bimappable } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/bimappable.ts";

The Bimappable interface. Bimapple includes the methods map and mapSecond.

interface Bimappable <U extends Kind> extends Mappable<U>, Hold<U> {
readonly mapSecond: <B, J>(fbj: (value: B) => J) => <A = never, C = never, D = unknown, E = unknown>(ta: $<U, [A, B, C], [D], [E]>) => $<U, [A, J, C], [D], [E]>;
}

§Type Parameters

§
U extends Kind
[src]

§Extends

§Properties

§
readonly mapSecond: <B, J>(fbj: (value: B) => J) => <A = never, C = never, D = unknown, E = unknown>(ta: $<U, [A, B, C], [D], [E]>) => $<U, [A, J, C], [D], [E]>
[src]