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