# Type

Property in [Declaration](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.declaration)

## Summary

Gets the type of the variable, as represented by an object that implements [IType](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.itype) .

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