Skip to content

both

both<A, B>(first, second): TheseBoth<A, B>

Defined in: Core/These.ts:61

Creates a These holding both a first and a second value simultaneously.

A

B

A

B

TheseBoth<A, B>

These.both(42, "Deprecated API used"); // { kind: "Both", first: 42, second: "Deprecated API used" }