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

Member predicate Object::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()