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' }
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.