--- title: last --- Return the last element of an array. | Code | Output | |-------------------------------------------------------:|:-------------------| | {% raw %}`{{ product.tags | last }}`{% endraw %} | `"awesome"` | In the sample above, assume that `product.tags` resolves to: `["sale", "mens", "womens", "awesome"]`.