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

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