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