Remove the *first* occurrence of `item` from the array.
(array, item)
| 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) { |
no test coverage detected
searching dependent graphs…