WithReturnType(IType)
Method in FunctionTypeBuilder
Summary
Sets the ReturnType of the FunctionType .
public FunctionTypeBuilder WithReturnType(IType returnType)
Parameters
Name
Description
Yarn.IType returnType
The return type to apply to the function.
Returns
The FunctionTypeBuilder instance that received this method call.
Last updated
Was this helpful?