> 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/2.3/api/csharp/yarn/yarn.library/yarn.library.functionexists.md).

# FunctionExists(string)

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

## Summary

Gets a value indicating whether this [Library](/2.3/api/csharp/yarn/yarn.library.md) 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.
