rocket_dyn_templates::minijinja::filters

Function reverse

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

Reverses an iterable or string

{% for user in users|reverse %}
  <li>{{ user.name }}
{% endfor %}