rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
22 lines (12 loc) • 620 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [CircularFIFOStack](./rc-js-util.circularfifostack.md) > [pop](./rc-js-util.circularfifostack.pop.md)
## CircularFIFOStack.pop() method
Remove the bottom element in the stack and return it.
**Signature:**
```typescript
pop(): TValue;
```
**Returns:**
TValue
## Remarks
Attempting to pop an empty stack is considered exceptional regardless of `mode`<!-- -->. You can call `getIsEmpty` or `getRemainingCapacity` to determine if pop is safe to call.