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

Function isSymbolWithNumericName

test/fixtures/snapshot/typescript.js:73479–73483  ·  view source on GitHub ↗
(symbol)

Source from the content-addressed store, hash-verified

73477 return links.resolvedType;
73478 }
73479 function isSymbolWithNumericName(symbol) {
73480 var _a;
73481 var firstDecl = (_a = symbol.declarations) === null || _a === void 0 ? void 0 : _a[0];
73482 return ts.isNumericLiteralName(symbol.escapedName) || (firstDecl && ts.isNamedDeclaration(firstDecl) && isNumericName(firstDecl.name));
73483 }
73484 function isSymbolWithSymbolName(symbol) {
73485 var _a;
73486 var firstDecl = (_a = symbol.declarations) === null || _a === void 0 ? void 0 : _a[0];

Callers 1

Calls 1

isNumericNameFunction · 0.85

Tested by

no test coverage detected