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

Function getRestTypeElementFlags

test/fixtures/snapshot/typescript.js:60811–60813  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

60809 }
60810 }
60811 function getRestTypeElementFlags(node) {
60812 return getArrayElementTypeNode(node.type) ? 4 /* ElementFlags.Rest */ : 8 /* ElementFlags.Variadic */;
60813 }
60814 function getArrayOrTupleTargetType(node) {
60815 var readonly = isReadonlyTypeOperator(node.parent);
60816 var elementType = getArrayElementTypeNode(node);

Callers 1

getTupleElementFlagsFunction · 0.85

Calls 1

getArrayElementTypeNodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…