toEither
Converts Result to Either. Result.Failure will be converted to Either.Left and Result.Success will be converted to Either.Right.
Important: This is a Public Preview API. It may be changed or removed at any time.
Converts Result to Either. Result.Failure will be converted to Either.Left and Result.Success will be converted to Either.Right.
Important: This is a Public Preview API. It may be changed or removed at any time.