arrow-core-data / arrow.core / Ior / Right

Right

data class Right<out B> : Ior<Nothing, B>

Constructors

<init> Right(value: 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
value val value: B

Functions

toString fun toString(): String

Companion Object Functions

invoke operator fun <B> ~~invoke~~(b: B): Ior<Nothing, B>

Do you like Arrow?

Arrow Org
<