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