FunctionType

Class in Yarn

Inherits from System.Object

Summary

A type that represents a function.

public class FunctionType : IType

Remarks

Functions have parameters and a return type, and can be called from script. Instances of this type are created when the host application registers new functions (such as through using the RegisterFunction(string,Delegate) methods or similar.)

Constructors

Methods

Properties

Name
Description

Gets a more verbose description of this type.

Gets the name of this type.

Gets the list of the parameter types that this function is called with.

Gets the parent of this type.

Gets the type of value that this function returns.

Gets the collection of type information for this type's type members.

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.