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

Member predicate NumericObject::booleanValue

Gets the Boolean value that this object would evaluate to in a Boolean context, such as bool(x) or if x: ...

boolean booleanValue()