Hello,
I'm looking for assistance with an arcade expression for labels. I need to check if a value is in a list of values.
Psuedo Code:
values = ['val1', val2, etc] if value isin values: return 1 else return 0
Thank you,
Tyler
What you want is the Includes function.
var values = [ 'val1', 'val2', 'etc' ] if (Includes(values, 'val1')){ return 'it\'s in!' } else { return 'not here' }
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.