How to remove duplicated items in array on Twig?
I have array value in twig such as.
{{ set array = [\"testA
The in operator performs containment test.
in
It returns true if the left operand is contained in the right.
{% if name in array %}
http://twig.sensiolabs.org/doc/templates.html#containment-operator