call

fun <V> Function<V>.call(vararg args: Any?): V

A utility function to call lambdas using a variable amount of arguments.

This function is a workaround until proper reflection on lambdas is implemented.