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

Function getSpreadArgumentIndex

test/fixtures/snapshot/typescript.js:75329–75331  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

75327 return !!arg && (arg.kind === 225 /* SyntaxKind.SpreadElement */ || arg.kind === 232 /* SyntaxKind.SyntheticExpression */ && arg.isSpread);
75328 }
75329 function getSpreadArgumentIndex(args) {
75330 return ts.findIndex(args, isSpreadArgument);
75331 }
75332 function acceptsVoid(t) {
75333 return !!(t.flags & 16384 /* TypeFlags.Void */);
75334 }

Callers 4

hasCorrectArityFunction · 0.85
getArgumentArityErrorFunction · 0.85
resolveNewExpressionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…