TwigでPHPのin_array
PHPのin_arrayは
if (in_array($val, $array))
Twigでこんな感じ。
if val in array
https://twig.symfony.com/doc/1.x/templates.html#containment-operator
PHPのin_arrayは
if (in_array($val, $array))
Twigでこんな感じ。
if val in array
https://twig.symfony.com/doc/1.x/templates.html#containment-operator