arrow-core-data / arrow.core / Ior / Both

Both

data class Both<out A, out B> : Ior<A, B>

Constructors

<init> Both(leftValue: A, rightValue: B)

Properties

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

Functions

toString fun toString(): String

Do you like Arrow?

Arrow Org
<