ThrowingFunction

Like java.util.function.Function but can throw checked exceptions.

Functions

Link copied to clipboard
abstract fun apply(var1: T): R
Link copied to clipboard
open fun asFunction(): (T) -> R
Link copied to clipboard
open fun <T, R> wrap(fn: ThrowingFunction<T, R>): (T) -> R