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