KCallable
Represents a callable entity, such as a function or a property.
Since Kotlin
1.0Parameters
R
return type of the callable.
Functions
Link copied to clipboard
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.
Since Kotlin 1.0
Link copied to clipboard
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.
Since Kotlin 1.0
Properties
Link copied to clipboard