minijinja::filters

Function max

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

Returns the largest item from an iterable.

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