Companion

object Companion

Functions

Link copied to clipboard
fun <L> Left(value: L): Either.Left<L>

Creates a new Left with the given value

Link copied to clipboard
fun <R> Right(value: R): Either.Right<R>

Creates a new Right with the given value