Skip to main content

compare_formulas

Function compare_formulas 

Source
pub fn compare_formulas(
    old_formula: Option<&str>,
    new_formula: Option<&str>,
    mode: FormulaCompareMode,
) -> Option<FormulaChange>
Expand description

Compare formula strings under the configured mode.

Returns Some(FormulaChange) when the formulas differ; None when equal or when the mode is Ignore.