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

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