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