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

Function isValidDeclarationForTupleLabel

test/fixtures/snapshot/typescript.js:77526–77528  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

77524 return symbol.valueDeclaration && ts.isParameter(symbol.valueDeclaration) && ts.isIdentifier(symbol.valueDeclaration.name);
77525 }
77526 function isValidDeclarationForTupleLabel(d) {
77527 return d.kind === 197 /* SyntaxKind.NamedTupleMember */ || (ts.isParameter(d) && d.name && ts.isIdentifier(d.name));
77528 }
77529 function getNameableDeclarationAtPosition(signature, pos) {
77530 var paramCount = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0);
77531 if (pos < paramCount) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…