decord/source/720_hashDelete.js

22 lines
386 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 720
2026-07-24 07:16:23 +00:00
// Function ID: 8746
2026-07-20 16:05:17 +00:00
// Name: hashDelete
// Dependencies: []
// Module 720 (hashDelete)
export default function hashDelete(arg0) {
const self = this;
const hasItem = this.has(arg0);
if (hasItem) {
const __data__ = self.__data__;
2026-07-23 10:11:24 +00:00
delete tmp[tmp2];
2026-07-20 16:05:17 +00:00
}
let num = 0;
if (hasItem) {
num = 1;
}
self.size = self.size - num;
return hasItem;
};