# TypeFlavour enum

Namespace: [Grasshopper2.Types](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.types.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
[Flags]
public enum TypeFlavour
```

Enumerates relevant type categories for generic classes and methods.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Unset | 0 | Indicates an unhandled type family. |
| Struct | 1 | Indicates that the type is a ValueType or "struct". Struct covers primitive and enum types as well. |
| NullableStruct | 2 | Indicates that the type is a nullable ValueType or "struct". |
| Class | 8 | Indicates that the type is a ReferenceType or "class" which may be inherited from. |
| Sealed | 16 | Indicates that the type is a ReferenceType or "class" which cannot be inherited. |
| Abstract | 32 | Indicates that the type is a ReferenceType or "class" which must be inherited. |
| Interface | 256 | Indicates that the type is of an interface type. |
