concepts.dsl.expression_utils.get_simple_bool_predicate#
- get_simple_bool_predicate(expr)[source]#
If the expression is a simple bool (see
is_simple_bool()
), it returns the underlying predicate.- Parameters:
expr (Expression) – the expression, assumed to be a simple Boolean expression.
- Returns:
the underlying predicate.
- Return type: