MCPcopy Index your code
hub / github.com/nodejs/node / setMightHaveLoosePrim

Function setMightHaveLoosePrim

lib/internal/util/comparisons.js:607–613  ·  view source on GitHub ↗
(a, b, prim)

Source from the content-addressed store, hash-verified

605}
606
607function setMightHaveLoosePrim(a, b, prim) {
608 const altValue = findLooseMatchingPrimitives(prim);
609 if (altValue != null)
610 return altValue;
611
612 return !b.has(altValue) && a.has(altValue);
613}
614
615function mapMightHaveLoosePrim(a, b, prim, item2, memo) {
616 const altValue = findLooseMatchingPrimitives(prim);

Callers 1

setEquivFunction · 0.85

Calls 2

hasMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…