Value

data class Value<T>(val value: T) : TransactionValue<T>

Constant, predefined value.

Parameters

T

The type of the value.

value

Value to use in the operation.

Constructors

Link copied to clipboard
constructor(value: T)

Properties

Link copied to clipboard
val value: T

Functions

Link copied to clipboard
fun <IN, OUT> TransactionValue<IN>.map(transformation: (IN) -> OUT): TransactionValue<OUT>

Applies a transformation to a TransactionValue, creating a new, transformed value. This function is type-safe.