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

Member predicate AbsentModuleAttributeObjectInternal::notTestableForEquality

True if this “object” can be meaningfully analyzed to determine the boolean value of equality tests on it. For example, None or int can be, but int() or an unknown string cannot.

predicate notTestableForEquality()