FunctionTypeBuilder.WithVariadicParameterType(IType?)

Method in FunctionTypeBuilder

Summary

Sets the VariadicParameterType of the FunctionType .

public FunctionTypeBuilder WithVariadicParameterType(IType? variadicParameterType)

Parameters

NameDescription
Yarn.IType variadicParameterTypeThe variadic parameter type to apply to the function.

Returns

The FunctionTypeBuilder instance that received this method call.