arrow-optics / arrow.optics / Getter / choice

choice

open infix fun <C> choice(other: Getter<C, A>): Getter<Either<S, C>, A>

Join two Getter with the same focus

Do you like Arrow?

Arrow Org
<