Answers for "twig filter e"

PHP
0

twig filter

{% set sizes = [34, 36, 38, 40, 42] %}

{{ sizes|filter(v => v > 38)|join(', ') }}
{# output 40, 42 #}
Posted by: Guest on October-13-2021
0

twig filter

{% set sizes = [34, 36, 38, 40, 42] %}

{{ sizes|filter(v => v > 38)|join(', ') }}
{# output 40, 42 #}
Posted by: Guest on October-13-2021

Browse Popular Code Answers by Language