MCPcopy Create free account
hub / github.com/nodejs/node / getNumNonRestParameters

Function getNumNonRestParameters

test/fixtures/snapshot/typescript.js:76367–76370  ·  view source on GitHub ↗
(signature)

Source from the content-addressed store, hash-verified

76365 /*typePredicate*/ undefined, minArgumentCount, flags);
76366 }
76367 function getNumNonRestParameters(signature) {
76368 var numParams = signature.parameters.length;
76369 return signatureHasRestParameter(signature) ? numParams - 1 : numParams;
76370 }
76371 function createCombinedSymbolFromTypes(sources, types) {
76372 return createCombinedSymbolForOverloadFailure(sources, getUnionType(types, 2 /* UnionReduction.Subtype */));
76373 }

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected