You can model that yourself with an ADT in Kotlin,...
# announcements
r
You can model that yourself with an ADT in Kotlin, something along the lines of...
Copy code
sealed class AbsentNullOrPresent<out A>
object Absent: AbsentNullOrPresent<Nothing>()
data class Present<A>(a: A): AbsentNullOrPresent<A>()