WithReturnType(IType)

Method in FunctionTypeBuilder

Summary

Sets the ReturnType of the FunctionType .

public FunctionTypeBuilder WithReturnType(IType returnType)

Parameters

NameDescription

Yarn.IType returnType

The return type to apply to the function.

Returns

The FunctionTypeBuilder instance that received this method call.

Last updated

Yarn Spinner® and Secret Lab® are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.