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

Function checkRightHandSideOfForOf

test/fixtures/snapshot/typescript.js:82947–82950  ·  view source on GitHub ↗
(statement)

Source from the content-addressed store, hash-verified

82945 }
82946 }
82947 function checkRightHandSideOfForOf(statement) {
82948 var use = statement.awaitModifier ? 15 /* IterationUse.ForAwaitOf */ : 13 /* IterationUse.ForOf */;
82949 return checkIteratedTypeOrElementType(use, checkNonNullExpression(statement.expression), undefinedType, statement.expression);
82950 }
82951 function checkIteratedTypeOrElementType(use, inputType, sentType, errorNode) {
82952 if (isTypeAny(inputType)) {
82953 return inputType;

Callers 5

getAssignedTypeFunction · 0.85
checkForOfStatementFunction · 0.85

Calls 2

checkNonNullExpressionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…