//arrow-core/arrow.core/Option/toEither
common inline fun <L> toEither(ifEmpty: () -> L): Either<L, A>
Do you like Arrow?