wishthis/node_modules/rxjs/dist/cjs/internal/util/arrRemove.js
2022-04-07 09:06:43 +02:00

11 lines
No EOL
311 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.arrRemove = void 0;
function arrRemove(arr, item) {
if (arr) {
var index = arr.indexOf(item);
0 <= index && arr.splice(index, 1);
}
}
exports.arrRemove = arrRemove;
//# sourceMappingURL=arrRemove.js.map