{% if users | length > 10 %}
...
{% endif %}
length
The length filter returns the number of items of a sequence or mapping, or the length of a string.
Was this helpful?
The length filter returns the number of items of a sequence or mapping, or the length of a string.
{% if users | length > 10 %}
...
{% endif %}
Was this helpful?