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

Member predicate ClassObject::booleanValue

Gets the Boolean value of this object if it always evaluates to true or false. For example: false for None, true for 7 and no result for int(x)

boolean booleanValue()