The length
filter returns the number of items of collection, map or the length of a string:
twig
{% if users|length > 10 %}
...
{% endif %}
🚀 New! Kestra raises $3 million to grow Learn more
The length
filter returns the number of items of collection, map or the length of a string:
{% if users|length > 10 %}
...
{% endif %}