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

Member predicate TupleObjectInternal::notTestableForEquality

True if this “object” can be meaningfully analyzed for truth or false in comparisons. For example, None or int can be, but int() or an unknown string cannot.

predicate notTestableForEquality()