# IsEmpty()

> Help verify whether an asset has been assigned or not.

## Definition

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

```csharp
public bool IsEmpty()
```

### Returns

| Type                                                          | Description                   |
| ------------------------------------------------------------- | ----------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if no asset is assigned. |
