js-util

Home > rc-js-util > _Array > removeOne

_Array.removeOne property

Removes either 0 or one item from items, even if itemToRemove appears more than once.

Signature:

static readonly removeOne: typeof arrayRemoveOne;

Remarks

The lowest indexed item will be removed where there is more than one match.

See arrayRemoveOne().