# GetVariableKind(string)

Method in [Program](https://docs.yarnspinner.dev/3.1/api/csharp/yarn/yarn.program)

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