# FromFunctionType(System.Type)

Method in [FunctionTypeBuilder](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.functiontypebuilder)

## Summary

Creates a new [FunctionTypeBuilder](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.functiontypebuilder) based on a delegate type.

```csharp
public static FunctionTypeBuilder FromFunctionType(System.Type type)
```

## Parameters

| Name               | Description                                                                          |
| ------------------ | ------------------------------------------------------------------------------------ |
| `System.Type` type | The type of a delegate to produce a type builder from. This type must be a delegate. |

## Returns

A newly created [FunctionTypeBuilder](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.functiontypebuilder) .
