FunctionTypeBuilder.WithParameter(IType)

Method in FunctionTypeBuilder

Summary

Adds a new parameter of type parameterType to the FunctionType .

public FunctionTypeBuilder WithParameter(IType parameterType)

Parameters

NameDescription
Yarn.IType parameterTypeThe type of the new parameter to add to the function.

Returns

The FunctionTypeBuilder instance that received this method call.