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

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