Value

class Value<T>(val value: T) : OptionalVariable<T> (source)

A defined variable, possibly holding null.

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 equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun valueOrNull(): T

The value, or null when undefined.

Link copied to clipboard
open override fun valueOrThrow(): T

The value; throws when undefined.