CodeQL library for Ruby
codeql/ruby-all 0.8.15-dev (changelog, source)
Search

Member predicate WhileModifierExpr::entersLoopWhenConditionIs

Holds if the loop body is entered when the condition is condValue. For while-modifier loops, this holds when condValue is true.

predicate entersLoopWhenConditionIs(boolean condValue)