CodeQL library for Python
codeql/python-all 2.1.1-dev (changelog, source)
Search

Member predicate Compare::compares

Whether as part of this comparison ‘left’ is compared with ‘right’ using the operator ‘op’. For example, the comparison a<b<c compares(a, b, <) and compares(b, c, <).

predicate compares(Expr left, Cmpop op, Expr right)