5 The iterable test was added in Twig 1.7.
7 ``iterable`` checks if a variable is an array or a traversable object:
11 {# evaluates to true if the foo variable is iterable #}
12 {% if users is iterable %}
13 {% for user in users %}
17 {# users is probably a string #}