CodeQL library for Python
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()