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

Function shouldConvertConditionOfForStatement

test/fixtures/snapshot/typescript.js:100381–100383  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

100379 return ts.isForStatement(node) && !!node.initializer && shouldConvertPartOfIterationStatement(node.initializer);
100380 }
100381 function shouldConvertConditionOfForStatement(node) {
100382 return ts.isForStatement(node) && !!node.condition && shouldConvertPartOfIterationStatement(node.condition);
100383 }
100384 function shouldConvertIncrementorOfForStatement(node) {
100385 return ts.isForStatement(node) && !!node.incrementor && shouldConvertPartOfIterationStatement(node.incrementor);
100386 }

Tested by

no test coverage detected