]> git.immae.eu Git - github/wallabag/wallabag.git/blame - vendor/twig/twig/doc/filters/keys.rst
gitignore vendor
[github/wallabag/wallabag.git] / vendor / twig / twig / doc / filters / keys.rst
CommitLineData
4f5b44bd
NL
1``keys``
2========
3
4The ``keys`` filter returns the keys of an array. It is useful when you want to
5iterate over the keys of an array:
6
7.. code-block:: jinja
8
9 {% for key in array|keys %}
10 ...
11 {% endfor %}