orElse<L1> abstract method
- Either<
L1, R> onLeft(- L l
If this Either is Left, return the result of onLeft
.
Used to recover from errors, so that when this value is Left you try another function that returns an Either.
Implementation
Either<L1, R> orElse<L1>(Either<L1, R> Function(L l) onLeft);