ZygoseitherswapOn this pageswap() swap<E, A>(ma): Either<A, E> Swaps the Left and Right values of an Either. Type Parametersβ E: Eβ The error type. A: Aβ The success type. Parametersβ ma: Either<E, A>β The Either to swap. Returns: Either<A, E>β The swapped Either. Sinceβ 2.0.0