HOME


Mini Shell 1.0
DIR:/usr/local/cwpsrv/var/services/twig/doc/filters/
Upload File :
Current File : //usr/local/cwpsrv/var/services/twig/doc/filters/keys.rst
``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:: jinja

    {% for key in array|keys %}
        ...
    {% endfor %}