mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-31 04:27:00 +00:00
Add docs
This commit is contained in:
@@ -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 %}
|
||||
Reference in New Issue
Block a user