Transforms the value inside an Either using the provided function. If the Either is Left(value), returns Left(f(value)). If the Either is Right(value), returns Right(value).
Either
Left(value)
Left(f(value))
Right(value)
Transforms the value inside an
Eitherusing the provided function. If theEitherisLeft(value), returnsLeft(f(value)). If theEitherisRight(value), returnsRight(value).