1``divisible by``
2================
3
4``divisible by`` checks if a variable is divisible by a number:
5
6.. code-block:: twig
7
8    {% if loop.index is divisible by(3) %}
9        ...
10    {% endif %}
11