arrow-core-data / arrow.core / Ior / Both / isRight
val isRight: Boolean
Returns true if this is a Right, false otherwise.
Example:
Left("tulip").isRight           // Result: false
Right("venus fly-trap").isRight // Result: true
Both("venus", "fly-trap").isRight // Result: false
Do you like Arrow?
✖