> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/3.1/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.registerfunctiondeclaration.md).

# RegisterFunctionDeclaration(string,Type,Type\[])

Method in [IActionRegistration](/3.1/api/csharp/yarn.unity/yarn.unity.iactionregistration.md)

## Summary

Registers a function as existing, without supplying an implementation.

```csharp
void RegisterFunctionDeclaration(string name, Type returnType, Type[] parameterTypes);
```

## Parameters

| Name                    | Description                             |
| ----------------------- | --------------------------------------- |
| `string` name           | The name of the function.               |
| `Type` returnType       | The return type of the function.        |
| `Type[]` parameterTypes | The types of the function's parameters. |
