arrow-core-data / arrow.core / Either / Right

Right

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

The right side of the disjoint union, as opposed to the Left side.

Constructors

<init> The right side of the disjoint union, as opposed to the Left side.Right(b: B)

Properties

b val ~~b~~: B
value val value: B

Functions

toString fun toString(): String

Companion Object Functions

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

Do you like Arrow?

Arrow Org
<