Transforms the present value of this Optional with the provided mapping function, otherwise returns an absent Optional.
function
Optional<R> map<R>(Map1<T, R> function);