@empathyco/x-components
Version:
Empathy X Components
20 lines (11 loc) • 490 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BaseXPriorityQueue](./x-components.basexpriorityqueue.md) > [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.