UNPKG

@effect-ts/system

Version:

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

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