CodeQL library for Python
Search

Member predicate CompareOp::conditional

Return this if isTrue is true, otherwise returns the inverse

CompareOp conditional(boolean isTrue)