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

Function getTypeOfPropertyOfType

test/fixtures/snapshot/typescript.js:55707–55710  ·  view source on GitHub ↗
(type, name)

Source from the content-addressed store, hash-verified

55705 }
55706 // Return the type of the given property in the given type, or undefined if no such property exists
55707 function getTypeOfPropertyOfType(type, name) {
55708 var prop = getPropertyOfType(type, name);
55709 return prop ? getTypeOfSymbol(prop) : undefined;
55710 }
55711 function getTypeOfPropertyOrIndexSignature(type, name) {
55712 var _a;
55713 return getTypeOfPropertyOfType(type, name) || ((_a = getApplicableIndexInfoForName(type, name)) === null || _a === void 0 ? void 0 : _a.type) || unknownType;

Calls 2

getPropertyOfTypeFunction · 0.85
getTypeOfSymbolFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…