mapLeft<L2> abstract method

Either<L2, R> mapLeft<L2>(
  1. L2 f(
    1. L left
    )
)

Maps the Left value using f, if present.

If this is a Right, the same successful value is returned unchanged.

Implementation

Either<L2, R> mapLeft<L2>(L2 Function(L left) f);