mapLeft<C> abstract method

Either<C, R> mapLeft<C>(
  1. C f(
    1. L a
    )
)

If the Either is Left, then change its value from type L to type C using function f.

Implementation

Either<C, R> mapLeft<C>(C Function(L a) f);