projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Yaffs site version 1.1
[yaffs-website]
/
vendor
/
twig
/
twig
/
doc
/
filters
/
keys.rst
diff --git a/vendor/twig/twig/doc/filters/keys.rst
b/vendor/twig/twig/doc/filters/keys.rst
new file mode 100644
(file)
index 0000000..
e4f090c
--- /dev/null
+++ b/
vendor/twig/twig/doc/filters/keys.rst
@@ -0,0
+1,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 %}