# HasAnyAreas(Areas)

> Checks whether this descriptor is flagged with any of the specified areas.

## Definition

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

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

### Parameters

**** (\[Areas]\(/engine/6000.7/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 at least one of the specified areas is set on this descriptor. Otherwise, returns false. |
