rocket_dyn_templates::minijinja::filters

Function min

Source
pub fn min(state: &State<'_, '_>, value: Value) -> Result<Value, Error>
Expand description

Returns the smallest item from an iterable.

{{ [1, 2, 3, 4]|min }} -> 1