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

Function isPropertyIdenticalTo

test/fixtures/snapshot/typescript.js:67245–67247  ·  view source on GitHub ↗
(sourceProp, targetProp)

Source from the content-addressed store, hash-verified

67243 return type;
67244 }
67245 function isPropertyIdenticalTo(sourceProp, targetProp) {
67246 return compareProperties(sourceProp, targetProp, compareTypesIdentical) !== 0 /* Ternary.False */;
67247 }
67248 function compareProperties(sourceProp, targetProp, compareTypes) {
67249 // Two members are considered identical when
67250 // - they are public properties with identical names, optionality, and types,

Callers 1

Calls 1

comparePropertiesFunction · 0.85

Tested by

no test coverage detected