fmap<B1> method

Either<a, B1> fmap<B1>(
  1. B1 fn(
    1. b p1
    )
)
inherited

Map the right value B into an Either<A, B1>, while keeping the left value untouched.

Implementation

Either<a, B1> fmap<B1>(B1 Function(b p1) fn) => _self.second(fn);