MCPcopy Create free account
hub / github.com/nodejs/node / hasOwnConstructor

Function hasOwnConstructor

test/fixtures/snapshot/typescript.js:138430–138432  ·  view source on GitHub ↗
(classDeclaration)

Source from the content-addressed store, hash-verified

138428 }
138429 }
138430 function hasOwnConstructor(classDeclaration) {
138431 return !!getClassConstructorSymbol(classDeclaration.symbol);
138432 }
138433 function findInheritedConstructorReferences(classDeclaration, state) {
138434 if (hasOwnConstructor(classDeclaration))
138435 return;

Callers 1

Calls 1

Tested by

no test coverage detected