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

Function checkTruthinessExpression

test/fixtures/snapshot/typescript.js:82814–82816  ·  view source on GitHub ↗
(node, checkMode)

Source from the content-addressed store, hash-verified

82812 return type;
82813 }
82814 function checkTruthinessExpression(node, checkMode) {
82815 return checkTruthinessOfType(checkExpression(node, checkMode), node);
82816 }
82817 function checkForStatement(node) {
82818 // Grammar checking
82819 if (!checkGrammarStatementInAmbientContext(node)) {

Callers 8

checkIfStatementFunction · 0.85
helperFunction · 0.85
checkDoStatementFunction · 0.85
checkWhileStatementFunction · 0.85
checkForStatementFunction · 0.85

Calls 2

checkTruthinessOfTypeFunction · 0.85
checkExpressionFunction · 0.70

Tested by

no test coverage detected