Buckets:
ktongue/docker_container / fem_tutos /node_modules /react-transition-group /esm /utils /SimpleSet.js
| var SimpleSet = /*#__PURE__*/function () { | |
| function SimpleSet() { | |
| this.v = []; | |
| } | |
| var _proto = SimpleSet.prototype; | |
| _proto.clear = function clear() { | |
| this.v.length = 0; | |
| }; | |
| _proto.has = function has(k) { | |
| return this.v.indexOf(k) !== -1; | |
| }; | |
| _proto.add = function add(k) { | |
| if (this.has(k)) return; | |
| this.v.push(k); | |
| }; | |
| _proto.delete = function _delete(k) { | |
| var idx = this.v.indexOf(k); | |
| if (idx === -1) return false; | |
| this.v.splice(idx, 1); | |
| return true; | |
| }; | |
| return SimpleSet; | |
| }(); | |
| export { SimpleSet as default }; |
Xet Storage Details
- Size:
- 571 Bytes
- Xet hash:
- 3267ddfaca221859f526efe8a5b5bc06dc2856bd01ebf199e1e0828103d77b15
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.