//arrow-core/arrow.core/findValid
common inline fun <E, A> Validated<E, A>.findValid(SE: Semigroup<E>, that: () -> Validated<E, A>): Validated<E, A>
If this
is valid return this
, otherwise if that
is valid return that
, otherwise combine the failures. This is similar to orElse except that here failures are accumulated.
Do you like Arrow?
✖