Answers for "how i can check on array length in 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