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

Method in [IActionRegistration](https://docs.yarnspinner.dev/api/csharp/yarn.unity/yarn.unity.iactionregistration)

## 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. |
