hugoWebsite/node_modules/rxjs/dist/cjs/internal/util/arrRemove.js

11 lines
311 B
JavaScript
Raw Normal View History

2022-10-29 00:20:35 +02:00
"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