From 5fd2f98720a256e98222516f98d71ab6ef6d37bb Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 13 Apr 2012 12:58:41 +0200 Subject: [PATCH] Add docs --- doc/tests/array.rst | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) create mode 100644 doc/tests/array.rst diff --git a/doc/tests/array.rst b/doc/tests/array.rst new file mode 100644 index 0000000..0bc46c4 --- /dev/null +++ b/doc/tests/array.rst @@ -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 %} -- 1.7.2.5