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

Function isPrototypeAccess

test/fixtures/snapshot/typescript.js:19148–19150  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

19146 }
19147 ts.tryGetPropertyAccessOrIdentifierToString = tryGetPropertyAccessOrIdentifierToString;
19148 function isPrototypeAccess(node) {
19149 return isBindableStaticAccessExpression(node) && getElementOrPropertyAccessName(node) === "prototype";
19150 }
19151 ts.isPrototypeAccess = isPrototypeAccess;
19152 function isRightSideOfQualifiedNameOrPropertyAccess(node) {
19153 return (node.parent.kind === 161 /* SyntaxKind.QualifiedName */ && node.parent.right === node) ||

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…