EitherOk

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

Constructors

Link copied to clipboard
constructor(data: R)

Properties

Link copied to clipboard
val data: R

Functions

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