---
title: HasAnyAreas(Areas)
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/projectauditor/editor/reportitem/hasanyareas
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/projectauditor/editor/reportitem/hasanyareas.md
last_updated: 2026-10-22
generated_at: 2026-11-04T18:54:08.466Z
locale: en-us
---

# HasAnyAreas(Areas)

> Checks whether this ReportItem is an issue whose descriptor is flagged with any of the specified areas.

## Definition

* **Type:** Method
* **Namespace:** [Unity.ProjectAuditor.Editor](/engine/7000.0/script-reference/unity/projectauditor/editor.md)
* **Assembly:** UnityEditor

```csharp
public bool HasAnyAreas(Areas areas)
```

### Parameters

**** (\[Areas]\(/engine/7000.0/script-reference/unity/projectauditor/editor/areas)): The area(s) to test against.

### Returns

| Type                                                          | Description                                                                                                               |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if this ReportItem is an issue and its descriptor has at least one of the specified areas. Otherwise, returns false. |
