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' }
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.