blob: f79b9bdfd396444d08c63fc289cd9bf6c153aaec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
``length``
==========
The ``length`` filters returns the number of items of a sequence or mapping, or
the length of a string:
.. code-block:: jinja
{% if users|length > 10 %}
...
{% endif %}
|