> 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/yarn.library/yarn.library.deregisterfunction.md).

# DeregisterFunction(string)

Method in [Library](/3.1/api/csharp/yarn/yarn.library.md)

## Summary

Removes a function from the Library.

```csharp
public void DeregisterFunction(string name)
```

## Remarks

If no function with the given name is present in the Library, this method does nothing.

## Parameters

| Name          | Description                         |
| ------------- | ----------------------------------- |
| `string` name | The name of the function to remove. |
