mapLeft<TL> method

  1. @override
Either<TL, R> mapLeft<TL>(
  1. TL fnL(
    1. L left
    )
)
override

Transform value of Left

Implementation

@override
Either<TL, R> mapLeft<TL>(TL Function(L left) fnL) {
  return Left<TL, R>(fnL(value));
}