hugoWebsite/node_modules/rxjs/dist/esm/internal/util/arrRemove.js
Jeremy Nusser 0ab675d92b Initial commit... 🎉🎉🎉
2022-10-28 17:20:35 -05:00

7 lines
No EOL
184 B
JavaScript

export function arrRemove(arr, item) {
if (arr) {
const index = arr.indexOf(item);
0 <= index && arr.splice(index, 1);
}
}
//# sourceMappingURL=arrRemove.js.map