Answers for "twig get length of array"

1

check length of array twig

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

Browse Popular Code Answers by Language