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

Function compareProperties

test/fixtures/snapshot/typescript.js:2183–2188  ·  view source on GitHub ↗
(a, b, key, comparer)

Source from the content-addressed store, hash-verified

2181 }
2182 ts.compareStringsCaseSensitiveUI = compareStringsCaseSensitiveUI;
2183 function compareProperties(a, b, key, comparer) {
2184 return a === b ? 0 /* Comparison.EqualTo */ :
2185 a === undefined ? -1 /* Comparison.LessThan */ :
2186 b === undefined ? 1 /* Comparison.GreaterThan */ :
2187 comparer(a[key], b[key]);
2188 }
2189 ts.compareProperties = compareProperties;
2190 /** True is greater than false. */
2191 function compareBooleans(a, b) {

Callers 3

propertiesIdenticalToFunction · 0.85
isPropertyIdenticalToFunction · 0.85

Calls 3

getTargetSymbolFunction · 0.85
isReadonlySymbolFunction · 0.85
getTypeOfSymbolFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…