wishthis/node_modules/rxjs/dist/esm/internal/util/arrRemove.js

7 lines
184 B
JavaScript
Raw Normal View History

2022-06-08 10:36:39 +00:00
export function arrRemove(arr, item) {
if (arr) {
const index = arr.indexOf(item);
0 <= index && arr.splice(index, 1);
}
}
//# sourceMappingURL=arrRemove.js.map