arrow-core-data / arrow.core / Ior / Both
data class Both<out A, out B> :
Ior
<A, B>
<init> | Both(leftValue: A, rightValue: B) |
isBoth | Returns true if this is a Both, false otherwise.val isBoth: Boolean |
isLeft | Returns true if this is a Left, false otherwise.val isLeft: Boolean |
isRight | Returns true if this is a Right, false otherwise.val isRight: Boolean |
leftValue | val leftValue: A |
rightValue | val rightValue: B |
toString | fun toString(): String |
Do you like Arrow?
✖