Companion

object Companion

Functions

Link copied to clipboard
fun <T> absent(): Optional<T>

Will create Optional without data

Link copied to clipboard
fun <T> presented(data: T): Optional<T>

Will create Optional with presented data