# FunctionExists(string)

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

## Summary

Gets a value indicating whether this [Library](https://docs.yarnspinner.dev/2.4/api/csharp/yarn/yarn.library) contains a function named `name` .

```csharp
public bool FunctionExists(string name)
```

## Parameters

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

## Returns

`true` if a function exists in this Library; `false` otherwise.
