ZygoseithertoUnionSur cette pagetoUnion() toUnion<E, A>(fa): E | A Converts an Either to a union type. Type Parameters E: E The error type. A: A The success type. Parameters fa: Either<E, A> The Either to convert. Returns: E | A The Left or Right value. Since 2.0.0