EitherNok

data class EitherNok<T, R>(val data: T) : Either<T, R>

Constructors

Link copied to clipboard
constructor(data: T)

Properties

Link copied to clipboard
val data: T

Functions

Link copied to clipboard
fun <T, R> Either<T, R>.inputOrThrow(ok: (EitherOk<T, R>) -> R, nok: (EitherNok<T, R>) -> String): R