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

Member predicate WhileExpr::entersLoopWhenConditionIs

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

predicate entersLoopWhenConditionIs(boolean condValue)