UNPKG

@nesvet/n

Version:
9 lines 206 B
export function removeOne(array, item) { const i = array.indexOf(item); if (i > -1) { array.splice(i, 1); return true; } return false; } //# sourceMappingURL=removeOne.js.map