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

Function isClassInstanceSide

test/fixtures/snapshot/typescript.js:52297–52299  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

52295 return flags & 814775659 /* TypeFormatFlags.NodeBuilderFlagsMask */;
52296 }
52297 function isClassInstanceSide(type) {
52298 return !!type.symbol && !!(type.symbol.flags & 32 /* SymbolFlags.Class */) && (type === getDeclaredTypeOfClassOrInterface(type.symbol) || (!!(type.flags & 524288 /* TypeFlags.Object */) && !!(ts.getObjectFlags(type) & 16777216 /* ObjectFlags.IsClassInstanceClone */)));
52299 }
52300 function createNodeBuilder() {
52301 return {
52302 typeToTypeNode: function (type, enclosingDeclaration, flags, tracker) {

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…