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

Function isGenericType

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

Source from the content-addressed store, hash-verified

62252 return !!(type.flags & 134217728 /* TypeFlags.TemplateLiteral */) && ts.every(type.types, isPatternLiteralPlaceholderType);
62253 }
62254 function isGenericType(type) {
62255 return !!getGenericObjectFlags(type);
62256 }
62257 function isGenericObjectType(type) {
62258 return !!(getGenericObjectFlags(type) & 4194304 /* ObjectFlags.IsGenericObjectType */);
62259 }

Callers 5

isValidIndexKeyTypeFunction · 0.85
_loop_18Function · 0.85
isDiscriminantPropertyFunction · 0.85

Calls 1

getGenericObjectFlagsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…