functionType

fun functionType(    argTypes: A_Tuple,     returnType: A_Type,     exceptionSet: A_Set = emptySet): A_Type

Answer a new function type whose instances accept arguments whose types conform to the corresponding entries in the provided tuple of types, produce values that conform to the return type, and raise no checked exceptions.

Return

A function type.

Parameters

argTypes

A tuple of types of the arguments that instances should accept.

returnType

The type of value that an instance should produce.