Back to Exposed

ValueContainer

docs/api/exposed-r2dbc/org.jetbrains.exposed.v1.r2dbc.mappers/-value-container/index.html

1.2.0912 B
Original Source

ValueContainer

interface ValueContainer<T>

Sealed class representing the result of a getValue operation. Contains either a present value or indicates that no value was provided.

Type Parameters

T

The type of the value being retrieved.

Inheritors

NoValueContainer

PresentValueContainer

Members

Properties

isPresent

Link copied to clipboard

abstract val isPresent: Boolean

True if the container holds a value, false otherwise.

Functions

value

Link copied to clipboard

abstract fun value(): T

Retrieves the present value from the container.

Generated by Dokka © 2026 Copyright