gh-pages / com.nextfaze.devfun.function / FunctionInvoke
FunctionInvoke
typealias FunctionInvoke = (receiver: Any?, args: List<Any?>) -> Any? (source)
Definition of generated function to call that invokes the function definition.
- 
    The receiver is the object to be invoked against (pass in nullfor static/object) types. Use convenience extension functions (e.g. FunctionItem.receiverClassForInvocation) to more easily locate/resolve receiver instance.
- 
    The args is the arguments for the method, matching the methods argument count and ordering. Similarly to receiver, convenience extension functions exist to assist with argument resolution. 
Note: At present nullable types are not inherently supported. KAPT does not provide enough information to determine if a type is nullable or not (and there are other issues to be considered). It is intended to be permitted in the future.
Return Invocation of function.