Answers for "length array twig"

1

check length of array twig

{% if users|length > 10 %}
    ...
{% endif %}
Posted by: Guest on March-29-2021

Browse Popular Code Answers by Language