MCPcopy Index your code
hub / github.com/nodejs/node / unorderedRemoveItem

Function unorderedRemoveItem

test/fixtures/snapshot/typescript.js:2368–2370  ·  view source on GitHub ↗

Remove the *first* occurrence of `item` from the array.

(array, item)

Source from the content-addressed store, hash-verified

2366 ts.unorderedRemoveItemAt = unorderedRemoveItemAt;
2367 /** Remove the *first* occurrence of `item` from the array. */
2368 function unorderedRemoveItem(array, item) {
2369 return unorderedRemoveFirstItemWhere(array, function (element) { return element === item; });
2370 }
2371 ts.unorderedRemoveItem = unorderedRemoveItem;
2372 /** Remove the *first* element satisfying `predicate`. */
2373 function unorderedRemoveFirstItemWhere(array, predicate) {

Callers 1

multiMapRemoveFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…