I want to calculate a filed and struggle to understand how to code the expression.
var TrapType = $feature.Trap_type;
IIf(TrapType = "Trapinator" or "Timms" or "Set & forget" , 'Possum', 'Rat');
What I would like:
If Trap_type= "Trapinator" or "Timms" or "Set & forget" --> Target_specie = 'Possum'
If Trap_type = other stuff --> Target_specie = 'Rat'