Runs f with the Right value, if present, and returns this Either.
f
Either<L, R> tap(void Function(R right) f) { if (isRight()) { f(getRight()); } return this; }