arrow-core-data / arrow.core / Either / cond
fun <L, R> ~~cond~~(test: Boolean, ifTrue: () -> R, ifFalse: () -> L): Either<L, R> Deprecated: Use conditionally since the parameter order is consistent with Either class
fun <L, R> ~~cond~~(test:
Boolean
, ifTrue: () -> R, ifFalse: () -> L):
Either
<L, R>
Do you like Arrow?