FunctionType(IType,IType[])

Constructor in FunctionType

Summary

Initialises a new instances of the FunctionType class.

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

Parameters

Name
Description

Yarn.IType returnType

The type of the value that this type of function returns.

Yarn.IType[] parameterTypes

The types of the parameters that this type of function accepts.

Last updated

Was this helpful?