DoEither<L, R> extension
- on
-
- Either<
L, R>
- Either<
Methods
-
doOnLeft(
void block(L v)) → Either< L, R> -
Available on Either<
Performs a side-effect by runningL, R> , provided by the DoEither extensionblock
function if the value is left and returns the same Either. -
doOnRight(
void block(R v)) → Either< L, R> -
Available on Either<
Performs a side-effect by runningL, R> , provided by the DoEither extensionblock
function if the value is right and returns the same Either.