blob: e4f090c6b7a490fe2360a13a364393379f64c0c3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
``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 %}
|