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

Member predicate IfExpr::getBranch

Gets the branch of this conditional expression that is taken when the condition evaluates to cond, if any.

Stmt getBranch(boolean cond)