Wrapped

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

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

Constructors

Link copied to clipboard
constructor(value: T)

Properties

Link copied to clipboard
val value: T

Functions

Link copied to clipboard
open operator override fun getValue(thisRef: Any?, property: KProperty<*>): T
Link copied to clipboard
open override fun toString(): String