arrow-core-data / arrow.core / Either / fromNullable
@JvmStatic fun <A> fromNullable(a: A?): Either<Unit, A>
@JvmStatic fun <A> fromNullable(a: A?):
Either
<
Unit
, A>
Do you like Arrow?