Skip to the content
Documentation

correctly inconsistent :-)

No ratings yet

As correctly documented here, the contains() operators does **not** work like this

{if contains(array(1,2,3),3)}

Instead, you have to write

{if array(1,2,3)|contains(3)}

(in 3.10)
$2c,
*-pike