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

Function symbolsToArray

test/fixtures/snapshot/typescript.js:59521–59529  ·  view source on GitHub ↗
(symbols)

Source from the content-addressed store, hash-verified

59519 return result;
59520 }
59521 function symbolsToArray(symbols) {
59522 var result = [];
59523 symbols.forEach(function (symbol, id) {
59524 if (!isReservedMemberName(id)) {
59525 result.push(symbol);
59526 }
59527 });
59528 return result;
59529 }
59530 function isJSDocOptionalParameter(node) {
59531 return ts.isInJSFile(node) && (
59532 // node.type should only be a JSDocOptionalType when node is a parameter of a JSDocFunctionType

Callers 3

reportNonExportedMemberFunction · 0.85
getSymbolsInScopeFunction · 0.85

Calls 3

isReservedMemberNameFunction · 0.85
forEachMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…