pub fn reduce_sequence(
cx: &mut Cx,
source: &Value,
init: Value,
reducer: Arc<dyn Fn(&mut Cx, Value, Value) -> Result<Value> + Send + Sync + 'static>,
) -> Result<Value>Expand description
Fold source into a single value with reducer, starting from init.