> 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.compiler/yarn.compiler.declaration/yarn.compiler.declaration.type.md).

# Type

Property in [Declaration](/3.1/api/csharp/yarn.compiler/yarn.compiler.declaration.md)

## Summary

Gets the type of the variable, as represented by an object that implements [IType](/3.1/api/csharp/yarn/yarn.itype.md) .

```csharp
public IType Type { get; internal set; }
```
