empty

fun <T> empty(): Optional<T>

Returns an empty Optional instance. No value is present for this Optional.

Return

an empty Optional

Parameters

The type of the non-existent value