CodeQL library for Python
codeql/python-all 2.2.0 (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()