code: public OptionalFunction<T, R> orElse(Supplier<R> supplier) {
      return new OptionalFunction<>(function, supplier);
    }
docs: Creates a new OptionalFunction that will use the given function for null values.
  
  @param supplier the supplier to use for null values.
  @return a new OptionalFunction