asFunction

open fun asFunction(): (T) -> R