Skip to main content

expr_deep_equal

Function expr_deep_equal 

Source
pub fn expr_deep_equal(
    lhs: impl IntoExpr<PrimExpr>,
    rhs: impl IntoExpr<PrimExpr>,
) -> Result<bool>
Expand description

Return whether lhs and rhs are the same expression tree, comparing variables by identity; structural equality also matches distinct variables bound at the same place.