callFunction
inline fun callFunction(receiver: T?, name: String, argumentsBuilder: ArgumentsBuilder = {}): Any?(source)
Call the single function named name with receiver and argumentsBuilder.
If the function is static, receiver is ignored. receiver must be non-null for non-static functions.
See also
Throws
if the function cannot be invoked or the function is suspending.
if no function with that name exists.
if more than one function with that name exist.