> 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/api/csharp/yarn/yarn.ismartvariableevaluator.md).

# ISmartVariableEvaluator

Interface in [Yarn](/api/csharp/yarn.md)

## Summary

Contains methods for evaluating the value of smart variables

```csharp
public interface ISmartVariableEvaluator
```

## Methods

| Name                                                                                                                               | Description                                           |
| ---------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [TryGetSmartVariable(string,T)](/api/csharp/yarn/yarn.ismartvariableevaluator/yarn.ismartvariableevaluator.trygetsmartvariable.md) | Evaluate the value of a smart variable named `name` . |
