Function rocket_dyn_templates::minijinja::filters::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 %}