arrow-core-data / arrow.core / Either / cond

cond

fun <L, R> cond(test: Boolean, ifTrue: () -> R, ifFalse: () -> L): Either<L, R>

Do you like Arrow?

Arrow Org
<