]> git.immae.eu Git - github/wallabag/wallabag.git/blob - vendor/twig/twig/doc/filters/length.rst
twig implementation
[github/wallabag/wallabag.git] / vendor / twig / twig / doc / filters / length.rst
1 ``length``
2 ==========
3
4 The ``length`` filters returns the number of items of a sequence or mapping, or
5 the length of a string:
6
7 .. code-block:: jinja
8
9 {% if users|length > 10 %}
10 ...
11 {% endif %}
12