arrow-optics / arrow.optics / PTraversal / either

either

@JvmStatic fun <L, R> either(): Traversal<Either<L, R>, R>

Traversal for Either that has focus in each Either.Right.

Receiver Traversal.Companion to make it statically available.

Return Traversal with source Either and focus every Either.Right of the source.

Do you like Arrow?

Arrow Org
<