ObjectValue

data class ObjectValue<T>(val unwrappedValue: T) : InputValue<T> , OutputValue<T>

A Value that wraps an element from a static enum class.

Constructors

Link copied to clipboard
constructor(unwrappedValue: T)

Properties

Link copied to clipboard
open override val unwrappedValue: T

The wrapped value.

Functions

Link copied to clipboard
open override fun <T> accept(visitor: ExpressionVisitor<T>): T

Accepts a visitor.

open override fun <O> accept(visitor: OutputValueVisitor<O>): O
Link copied to clipboard

Chains two expressions together, which is used in ComposedExpressions.

Link copied to clipboard
Link copied to clipboard
fun Value<*>.isNone(): Boolean

Whether this value represents a missing/null value, either as a direct NoneValue or as a value wrapping None, NoneValue, or null.