decord/source/723_hashSet.js

26 lines
468 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 723
2026-07-24 07:16:23 +00:00
// Function ID: 8752
2026-07-20 16:05:17 +00:00
// Name: hashSet
2026-07-23 10:11:24 +00:00
// Dependencies: [713]
2026-07-20 16:05:17 +00:00
// Module 723 (hashSet)
export default function hashSet(arg0, arg1) {
let __data__;
let size;
const self = this;
({ __data__, size } = this);
let num = 1;
if (this.has(arg0)) {
num = 0;
}
self.size = size + num;
2026-07-23 10:11:24 +00:00
if (!require(713) /* getNative */) {
2026-07-20 16:05:17 +00:00
let str = arg1;
} else {
str = "__lodash_hash_undefined__";
}
__data__[arg0] = str;
return self;
};