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.
21 lines (11 loc) • 604 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [\_Array](./rc-js-util._array.md) > [removeOne](./rc-js-util._array.removeone.md)
## \_Array.removeOne property
Removes either 0 or one item from items, even if itemToRemove appears more than once.
**Signature:**
```typescript
static readonly removeOne: typeof arrayRemoveOne;
```
## Remarks
The lowest indexed item will be removed where there is more than one match.
See [arrayRemoveOne()](./rc-js-util.arrayremoveone.md)<!-- -->.