I am getting the error
'Invalid expression.
Error on line 2.
Close parenthesis expected'
that I can't seem to figure out. This is a fairly straight forward expression asking if the contents of field LP1 = [a,b,c,d] return 'Yes' else return null. Can you help me identify its error?
var owned = ['a','b','c','d'];
var v = iif($feature.LP1 in owned,"Yes", null);
return v;
Thanks for the help..