Function
Represents a value of a functional type, such as a lambda, an anonymous function or a function reference.
Since Kotlin
1.2Represents a value of a functional type, such as a lambda, an anonymous function or a function reference.
Since Kotlin
1.0Represents a value of a functional type, such as a lambda, an anonymous function or a function reference.
Since Kotlin
1.1Parameters
return type of the function.
return type of the function.
return type of the function.
return type of the function.
Inheritors
Extensions
This is an experimental API. Given a class for a compiled Kotlin lambda or a function expression, returns a KFunction instance providing introspection capabilities for that lambda or function expression and its parameters. Not all features are currently supported, in particular KCallable.call and KCallable.callBy will fail at the moment.