UNPKG

@effect-ts/system

Version:

Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.

7 lines 323 B
import * as Tp from "../../Collections/Immutable/Tuple/index.js"; import type { RIO } from "../managed.js"; /** * Returns an effectful function that merely swaps the elements in a `Tuple`. */ export declare function swap<A, B>(__trace?: string): RIO<Tp.Tuple<[A, B]>, Tp.Tuple<[B, A]>>; //# sourceMappingURL=swap.d.ts.map