public static <T, R> Function<T, R> function(CheckedFunction<T, R> function) {
        return Unchecked.function(function, Unchecked.RETHROW_ALL);
    }
Wrap a {@link CheckedFunction} in a {@link Function}.
<p>
Example:
<pre><code>
map.computeIfAbsent("key", Unchecked.function(k -> {
    if (k.length() > 10)
        throw new Exception("Only short strings allowed");

    return 42;
}));
</code></pre>
jOOL-java-8/src/main/java/org/jooq/lambda/Sneaky.java