decord/source/746_hashSet.js

26 lines
467 B
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 746
// Function ID: 747
2026-07-20 16:05:17 +00:00
// Name: hashSet
2026-07-29 08:29:29 +00:00
// Dependencies: [736]
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
// Module 746 (hashSet)
2026-07-20 16:05:17 +00:00
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-29 08:29:29 +00:00
if (!require(736) /* getNative */) {
2026-07-20 16:05:17 +00:00
let str = arg1;
} else {
str = "__lodash_hash_undefined__";
}
__data__[arg0] = str;
return self;
};