FunctionType(IType,IType[])

Constructor in FunctionType

Summary

Initialises a new instances of the FunctionType class.

public FunctionType(IType returnType, params IType[] parameterTypes)

Parameters

NameDescription
Yarn.IType returnTypeThe type of the value that this type of function returns.
Yarn.IType[] parameterTypesThe types of the parameters that this type of function accepts.