MCPcopy
hub / github.com/PlasmoHQ/plasmo / has

Method has

core/parcel-bundler/src/bit-set.ts:64–66  ·  view source on GitHub ↗
(item: T)

Source from the content-addressed store, hash-verified

62 }
63
64 has(item: T): boolean {
65 return Boolean(this._value & (BIGINT_ONE << this.getIndex(item)))
66 }
67
68 intersect(v: BitSet<T>) {
69 this._value = this._value & v._value

Callers 15

handlePolyfillFunction · 0.80
handleAliasFunction · 0.80
handleTildeSrcFunction · 0.80
attemptResolveFunction · 0.80
attemptResolveArrayFunction · 0.80
decorateLegacyGraphFunction · 0.80
enterFunction · 0.80
createIdealGraphFunction · 0.80
mountAnchorsFunction · 0.80
mainFunction · 0.80
base.tsFile · 0.80

Calls 1

getIndexMethod · 0.95

Tested by

no test coverage detected