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

Function isGenericIndexType

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

Source from the content-addressed store, hash-verified

62258 return !!(getGenericObjectFlags(type) & 4194304 /* ObjectFlags.IsGenericObjectType */);
62259 }
62260 function isGenericIndexType(type) {
62261 return !!(getGenericObjectFlags(type) & 8388608 /* ObjectFlags.IsGenericIndexType */);
62262 }
62263 function getGenericObjectFlags(type) {
62264 if (type.flags & 3145728 /* TypeFlags.UnionOrIntersection */) {
62265 if (!(type.objectFlags & 2097152 /* ObjectFlags.IsGenericTypeComputed */)) {

Callers 10

getRestTypeFunction · 0.85
isGenericMappedTypeFunction · 0.85
addSpansFunction · 0.85
getStringMappingTypeFunction · 0.85
maybeCloneTypeParameterFunction · 0.85
structuredTypeRelatedToFunction · 0.85
isConstraintPositionFunction · 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…