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

Member predicate Value::getDefiniteBooleanValue

Gets the boolean interpretation of this value, only if we can determine the result precisely. The result can be none(), but never both true and false.

boolean getDefiniteBooleanValue()