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

Function hasSameKeys

test/fixtures/snapshot/typescript.js:120068–120071  ·  view source on GitHub ↗
(map1, map2)

Source from the content-addressed store, hash-verified

120066 BuilderFileEmit[BuilderFileEmit["Full"] = 1] = "Full";
120067 })(BuilderFileEmit = ts.BuilderFileEmit || (ts.BuilderFileEmit = {}));
120068 function hasSameKeys(map1, map2) {
120069 // Has same size and every key is present in both maps
120070 return map1 === map2 || map1 !== undefined && map2 !== undefined && map1.size === map2.size && !ts.forEachKey(map1, function (key) { return !map2.has(key); });
120071 }
120072 /**
120073 * Create the state so that we can iterate on changedFiles/affected files
120074 */

Callers 1

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…