arrow-core-data / arrow.core / Ior / Left

Left

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

Constructors

<init> Left(value: A)

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: A

Functions

toString fun toString(): String

Companion Object Functions

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

Do you like Arrow?

Arrow Org
<