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

11 lines
311 B
JavaScript
Raw Normal View History

2022-04-07 07:06:43 +00: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