Skip to content

//reactivestate-core/com.ensody.reactivestate/Wrapped

Wrapped

[common]\ data class Wrapped<T>(val value: T) : JvmSerializable, ReadOnlyProperty<Any?, T>

Wraps a value. Together with nullability can model an Option/Maybe.

Constructors

Wrapped [common]
constructor(value: T)

Properties

Name Summary
value [common]
val value: T

Functions

Name Summary
getValue [common]
open operator override fun getValue(thisRef: Any?, property: KProperty<*>): T
toString [common]
open override fun toString(): String