kvision / pl.treksoft.kvision.cordova / Result / Success

Success

class Success<out V : Any> : Result<V, Nothing>

Constructors

<init>

Success(value: V)

Properties

value

val value: V

Functions

component1

fun component1(): V?

equals

fun equals(other: Any?): Boolean

get

fun get(): V

hashCode

fun hashCode(): Int

toString

fun toString(): String

Inherited Functions

component2

open operator fun component2(): E?

fold

fun <X> fold(success: (V) -> X, failure: (E) -> X): X