# GetCustomPropertyBool<T>(T)

> Check whether a custom property is a boolean type and whether its value is true.

## Definition

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

```csharp
public bool GetCustomPropertyBool<T>(T propertyEnum) where T : struct
```

### Parameters

**** (T): Enum value indicating a property.

### Returns

| Type                                                          | Description                                                                                                       |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns the property's value if the property is valid and if the value type is boolean. Otherwise, returns false. |
