mapRight<R2> abstract method

Either<L, R2> mapRight<R2>(
  1. Map1<R, R2> rightFunction
)

Transforms the right value with rightFunction. If applicable, the resulting Either contains the transformed right value.

Implementation

Either<L, R2> mapRight<R2>(
  Map1<R, R2> rightFunction,
);