mirror of
https://github.com/kemko/liquid.git
synced 2026-01-05 09:45:40 +03:00
253 B
253 B
title
| title |
|---|
| reverse |
Reverses the order of an array.
{% highlight liquid %} {% raw %} {{ product.tags }} // ['cool', 'sale', 'purple', 'awesome']
{{ product.tags | reverse }} // ['awesome', 'purple', 'sale', 'cool'] {% endraw %} {% endhighlight %}