# 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

## 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.