isRight
Returns true
if this is a Right, false
otherwise.
Example:
import arrow.core.Ior
fun main() {
Ior.Left("tulip").isRight // Result: false
Ior.Right("venus fly-trap").isRight // Result: true
Ior.Both("venus", "fly-trap").isRight // Result: false
}
Content copied to clipboard