arrow-optics / arrow.optics / PIso / eitherToPValidated

eitherToPValidated

@JvmStatic fun <A1, A2, B1, B2> eitherToPValidated(): PIso<Either<A1, B1>, Either<A2, B2>, Validated<A1, B1>, Validated<A2, B2>>

PIso that defines the equality between Either and Validated

Do you like Arrow?

Arrow Org
<