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

Function asNodeArray

test/fixtures/snapshot/typescript.js:27198–27200  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

27196 ts.Debug.assertNever(node);
27197 }
27198 function asNodeArray(array) {
27199 return array ? createNodeArray(array) : undefined;
27200 }
27201 function asName(name) {
27202 return typeof name === "string" ? createIdentifier(name) :
27203 name;

Callers 12

createBaseDeclarationFunction · 0.85
createCallExpressionFunction · 0.85
createCallChainFunction · 0.85
createNewExpressionFunction · 0.85
createJSDocTypeLiteralFunction · 0.85
createJSDocSignatureFunction · 0.85
createJSDocCommentFunction · 0.85
createJsxOpeningElementFunction · 0.85

Calls 1

createNodeArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…