# IsNullOrEmpty(StylePropertyName)

> Checks if the StylePropertyName is null or empty.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public static bool IsNullOrEmpty(StylePropertyName propertyName)
```

### Parameters

**** (\[StylePropertyName]\(/engine/6000.7/script-reference/unityengine/uielements/stylepropertyname)): StylePropertyName you want to check.

### Returns

| Type                                                          | Description                                       |
| ------------------------------------------------------------- | ------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if propertyName is invalid. False otherwise. |
