com.github.rs3vans.monadik / Either / Left

Left

class Left<out T : Any> : Either<T, Nothing>

Constructors

<init> Left(left: T)

Properties

left val left: T
right val right: Nothing?

Inherited Functions

component1 operator fun component1(): T?
component2 operator fun component2(): U?
swap fun swap(): Either<U, T>