KFunction
Represents a function with introspection capabilities.
Represents a function with introspection capabilities.
Represents a function with introspection capabilities.
Functions
Calls this callable with the specified list of arguments and returns the result. Throws an exception if the number of specified arguments is not equal to the size of parameters, or if their types do not match the types of the parameters.
Calls this callable with the specified mapping of parameters to arguments and returns the result. If a parameter is not found in the mapping and is not optional (as per KParameter.isOptional), or its type does not match the type of the provided value, an exception is thrown.
Properties
true
if this function is external
. See the Kotlin language documentation for more information.
true
if this function is infix
. See the Kotlin language documentation for more information.
true
if this function is inline
. See the Kotlin language documentation for more information.
true
if this function is operator
. See the Kotlin language documentation for more information.
Inheritors
Extensions
Returns a Java Constructor instance corresponding to the given Kotlin function, or null
if this function is not a constructor or cannot be represented by a Java Constructor.