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

Function getNonArrayRestType

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

Source from the content-addressed store, hash-verified

77656 return undefined;
77657 }
77658 function getNonArrayRestType(signature) {
77659 var restType = getEffectiveRestType(signature);
77660 return restType && !isArrayType(restType) && !isTypeAny(restType) && (getReducedType(restType).flags & 131072 /* TypeFlags.Never */) === 0 ? restType : undefined;
77661 }
77662 function getTypeOfFirstParameterOfSignature(signature) {
77663 return getTypeOfFirstParameterOfSignatureWithFallback(signature, neverType);
77664 }

Callers 4

compareSignaturesRelatedFunction · 0.85
inferTypeArgumentsFunction · 0.85
chooseOverloadFunction · 0.85

Calls 4

getEffectiveRestTypeFunction · 0.85
isArrayTypeFunction · 0.85
isTypeAnyFunction · 0.85
getReducedTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…