PATH:
home
/
letacommog
/
laindinois
/
OLD
/
wp-content
/
plugins
/
responsive-menu
/
vendor
/
twig
/
twig
/
doc
/
tests
``divisible by`` ================ .. versionadded:: 1.14.2 The ``divisible by`` test was added in Twig 1.14.2 as an alias for ``divisibleby``. ``divisible by`` checks if a variable is divisible by a number: .. code-block:: jinja {% if loop.index is divisible by(3) %} ... {% endif %}
[+]
..
[-] iterable.rst
[edit]
[-] divisibleby.rst
[edit]
[-] null.rst
[edit]
[-] empty.rst
[edit]
[-] sameas.rst
[edit]
[-] odd.rst
[edit]
[-] defined.rst
[edit]
[-] even.rst
[edit]
[-] constant.rst
[edit]
[-] index.rst
[edit]