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

# Type

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

## Summary

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

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