<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [BaseXPriorityQueue](./x-components.basexpriorityqueue.md) &gt; [isEmpty](./x-components.basexpriorityqueue.isempty.md)

## BaseXPriorityQueue.isEmpty() method

Checks if the queue is empty.

**Signature:**

```typescript
isEmpty(): boolean;
```
**Returns:**

boolean

True if the queue is empty, false otherwise.

