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

Function updateArrayTypeNode

test/fixtures/snapshot/typescript.js:23652–23656  ·  view source on GitHub ↗
(node, elementType)

Source from the content-addressed store, hash-verified

23650 }
23651 // @api
23652 function updateArrayTypeNode(node, elementType) {
23653 return node.elementType !== elementType
23654 ? update(createArrayTypeNode(elementType), node)
23655 : node;
23656 }
23657 // @api
23658 function createTupleTypeNode(elements) {
23659 var node = createBaseNode(184 /* SyntaxKind.TupleType */);

Callers

nothing calls this directly

Calls 2

createArrayTypeNodeFunction · 0.85
updateFunction · 0.70

Tested by

no test coverage detected