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

Member predicate UntilModifierExpr::entersLoopWhenConditionIs

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

predicate entersLoopWhenConditionIs(boolean condValue)