KaFunctionType
Last modified: 23 July 2024Represents Kotlin function types, such as (String) -> Int
or suspend () -> List<Any>
.
Hierarchy
Inherits from KaClassType.
Members
val isReflectType: Boolean
true
if the type is a reflect function type (kotlin.reflection.KFunctionN
).val parameterTypes: List<KaType>
A list of parameter types. Not to confuse with
typeArguments
which also include the function return type.val receiverType: KaType?
The extension receiver type, or
null
if the given type is not an extension function type.