arrow-core-data / arrow.core / Either / Left

Left

data class Left<out A> : Either<A, Nothing>

The left side of the disjoint union, as opposed to the Right side.

Constructors

<init> The left side of the disjoint union, as opposed to the Right side.Left(a: A)

Properties

a val ~~a~~: A
value val value: A

Functions

toString fun toString(): String

Companion Object Functions

invoke operator fun <A> ~~invoke~~(a: A): Either<A, Nothing>

Do you like Arrow?

Arrow Org
<