anyFunction

@API(status = API.Status.EXPERIMENTAL, since = "1.6.0")
fun anyFunction(kClass: KClass<*>): Functions.FunctionWrapper

Function to create a Functions.FunctionWrapper.

This is a Kotlin convenience for Functions.function which requires a Java class instead.