Option

@Serializable(with = OptionSerializer::class)
sealed class Option<out T>

Inheritors

Types

Link copied to clipboard
@Serializable
object None : Option<Nothing>
Link copied to clipboard
@Serializable
data class Some<T>(val value: T) : Option<T>