leftAsOption

fun <E, A> Either<E, A>.leftAsOption(): Option<E>(source)

Turns the left side of your Either into an Option.