@blackglory/structures 0.10.6 → 0.10.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17026,7 +17026,9 @@
17026
17026
  delete(value) {
17027
17027
  var _a;
17028
17028
  const [index, mask] = this.getPosition(value);
17029
- this.array.set(index, ((_a = this.array.get(index)) !== null && _a !== void 0 ? _a : 0) & ~mask);
17029
+ const element = ((_a = this.array.get(index)) !== null && _a !== void 0 ? _a : 0);
17030
+ this.array.set(index, element & ~mask);
17031
+ return (element & mask) === mask;
17030
17032
  }
17031
17033
  clear() {
17032
17034
  for (let i = this.array.length; i--;) {