# DeregisterFunction(string)

Method in [Library](https://docs.yarnspinner.dev/2.4/api/csharp/yarn/yarn.library)

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