or abstract method

Optional<T> or(
  1. Map0<Optional<T>> function
)

Returns the current optional if present, otherwise evaluates the function callback and returns its optional.

Implementation

Optional<T> or(Map0<Optional<T>> function);