Skip to main content

reduce

Function reduce 

Source
pub fn reduce(
    over: &Value,
    expr: &str,
    initial: Value,
    alias: &str,
    acc_alias: &str,
    data: &Data,
) -> Result<Value, String>
Expand description

reduce: fold expr over the elements with acc (starting at initial).