arrow-optics / arrow.optics / POptional / codiagonal
fun <S> codiagonal(): Optional<Either<S, S>, S>
fun <S> codiagonal():
Optional
<Either<S, S>, S>
POptional that takes either S or S and strips the choice of S.
Do you like Arrow?