@empathyco/x-components
Version:
Empathy X Components
18 lines (10 loc) • 476 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) > [clear](./x-components.basexpriorityqueue.clear.md)
## BaseXPriorityQueue.clear() method
Removes all the [nodes](./x-components.xpriorityqueuenode.md) from the queue.
**Signature:**
```typescript
clear(): void;
```
**Returns:**
void