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

Function shouldConvertIncrementorOfForStatement

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

Source from the content-addressed store, hash-verified

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 }
100387 function shouldConvertIterationStatement(node) {
100388 return shouldConvertBodyOfIterationStatement(node)
100389 || shouldConvertInitializerOfForStatement(node);

Tested by

no test coverage detected