blob: 586094717203ca43b08da819d7e61b0337162d2e [file] [log] [blame]
``keys``
========
The ``keys`` filter returns the keys of an array. It is useful when you want to
iterate over the keys of an array:
.. code-block:: twig
{% for key in array|keys %}
...
{% endfor %}