risingwave_frontend::expr::utils

Function fold_boolean_constant

source
pub fn fold_boolean_constant(expr: ExprImpl) -> ExprImpl
Expand description

fold boolean constants in boolean exprs e.g. (A And false) Or true will become True