> 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.program/yarn.program.getvariablekind.md).

# GetVariableKind(string)

Method in [Program](/3.1/api/csharp/yarn/yarn.program.md)

## Summary

Gets a value indicating the kind of variable `name` represents.

```csharp
public VariableKind GetVariableKind(string name)
```

## Parameters

| Name          | Description             |
| ------------- | ----------------------- |
| `string` name | The name of a variable. |

## Returns

The kind of variable that `name` represents.
