# TypeTraits

> Helper class to avoid paying the cost of runtime type lookups.

## Definition

* **Type:** Class
* **Namespace:** [Unity.Properties](/engine/6000.3/script-reference/unity/properties.md)
* **Assembly:** UnityEngine.PropertiesModule

```csharp
public static class TypeTraits
```

## Static Methods

| Method                                                                                    | Description                                                                                                  |
| ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| [IsContainer](/engine/6000.3/script-reference/unity/properties/typetraits/iscontainer.md) | Returns `true` if the given type can be treated as a container. i.e. not primitive, pointer, enum or string. |
