# HasEntityReferences(TypeIndex)

> TypeIndex.HasEntityReferences

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public static bool HasEntityReferences(TypeIndex typeIndex)
```

### Parameters

**** (\[TypeIndex]\(/engine/7000.0/script-reference/unity/entities/typeindex)): TypeIndex for a component

### Returns

| Type                                                          | Description                                                                                                                                  |
| ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns if the component type contains any member fields that are of type [Entity](/engine/7000.0/script-reference/unity/entities/entity.md) |
