rocket_dyn_templates::minijinja::filters

Function length

Source
pub fn length(v: Value) -> Result<usize, Error>
Expand description

Returns the “length” of the value

By default this filter is also registered under the alias count.

<p>Search results: {{ results|length }}