DoEither<L, R> extension

on

Methods

doOnLeft(void block(L v)) Either<L, R>
Performs a side-effect by running block function if the value is left and returns the same Either.
doOnRight(void block(R v)) Either<L, R>
Performs a side-effect by running block function if the value is right and returns the same Either.