[SOLVED] NOT IN array

#1

Hello, I have the code {{ if in “cn kr” .Lang }} {{ end }}, how can I add NOT, for example {{ if not in “cn kr” .Lang }} {{ end }}

0 Likes

#2

Putting parentheses around the in statement should work:

{{ if not ( in “cn kr” .Lang) }} {{ end }}
0 Likes

#3

Thanks!

0 Likes