mapLeft<L2> abstract method

Either<L2, R> mapLeft<L2>(
  1. Map1<L, L2> leftFunction
)

Transforms the left value with leftFunction. If applicable, the resulting Either contains the transformed left value.

Implementation

Either<L2, R> mapLeft<L2>(
  Map1<L, L2> leftFunction,
);