isBoth

open override val isBoth: Boolean(source)

Returns true if this is a Both, false otherwise.

Example:

import arrow.core.Ior

fun main() {
Ior.Left("tulip").isBoth // Result: false
Ior.Right("venus fly-trap").isBoth // Result: false
Ior.Both("venus", "fly-trap").isBoth // Result: true
}