Some

@Serializable
data class Some<T>(val value: T) : Option<T>

Constructors

Link copied to clipboard
constructor(value: T)

Properties

Link copied to clipboard
val value: T

Functions

Link copied to clipboard
fun destruct(): T?
Link copied to clipboard
fun expect(message: String): T