☰
Debian Codegraph
@
368-1
367-1
/
/
node
/
rxjs
/
dist
/
esm
/
internal
/
util
/
arrRemove.js
☽
☼
node/rxjs/dist/esm/internal/util/arrRemove.js
code
plain
raw
Apache-2.0
2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors; Ben Lesh; Microsoft Corporation.
debian/copyright
1
export function arrRemove(arr, item) {
2
if (arr) {
3
const index = arr.indexOf(item);
4
0 <= index && arr.splice(index, 1);
5
}
6
}
7
//# sourceMappingURL=arrRemove.js.map