Add docs
authorJordi Boggiano <j.boggiano@seld.be>
Fri, 13 Apr 2012 10:58:41 +0000 (12:58 +0200)
committerJordi Boggiano <j.boggiano@seld.be>
Fri, 13 Apr 2012 10:58:41 +0000 (12:58 +0200)
doc/tests/array.rst [new file with mode: 0644]

diff --git a/doc/tests/array.rst b/doc/tests/array.rst
new file mode 100644 (file)
index 0000000..0bc46c4
--- /dev/null
@@ -0,0 +1,11 @@
+``array``
+=========
+
+``array`` checks if a variable is an array:
+
+.. code-block:: jinja
+
+    {# evaluates to true if the foo variable is an array #}
+    {% if foo is array %}
+        ...
+    {% endif %}