src/main/java/javascalautils/Success.java
@Override
    public <R> Try<R> map(ThrowableFunction1<T, R> function) {
        return Try(() -> function.apply(value));
    }
@Override
    public <R> Try<R> map(ThrowableFunction1<T, R> function) {
        return Try(() -> function.apply(value));
    }
Applies the value to the function and returns the {@link Try} representing the mapped value.

@since 1.0