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

Function isGenericTupleType

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

Source from the content-addressed store, hash-verified

67545 return !!(ts.getObjectFlags(type) & 4 /* ObjectFlags.Reference */ && type.target.objectFlags & 8 /* ObjectFlags.Tuple */);
67546 }
67547 function isGenericTupleType(type) {
67548 return isTupleType(type) && !!(type.target.combinedFlags & 8 /* ElementFlags.Variadic */);
67549 }
67550 function isSingleElementGenericTupleType(type) {
67551 return isGenericTupleType(type) && type.target.elementFlags.length === 1;
67552 }

Callers 7

getLowerBoundOfKeyTypeFunction · 0.85
getIndexTypeFunction · 0.85
getGenericObjectFlagsFunction · 0.85
instantiateMappedTypeFunction · 0.85

Calls 1

isTupleTypeFunction · 0.85

Tested by

no test coverage detected