After looking through the list of Arcade operators, I don't see an alternative to OR. I need to make a statement along these lines, and it doesn't seem to work:
IIf(textField=='Yes' OR IsEmpty(dateField), 'TRUE', 'FALSE')
If I replace OR with &&, the expression works. Is there an alternative to OR in Arcade?
Solved! Go to Solution.
I believe or is represented as || - two vertical bars, key used is usually above the enter key with the default character as \
I think you also need a logical operator after IsEmpty() since you are making a logic statement.
I believe or is represented as || - two vertical bars, key used is usually above the enter key with the default character as \
I think you also need a logical operator after IsEmpty() since you are making a logic statement.
Thank you! That worked.
No problem! Glad it worked 😄
I submitted a comment to Esri about the missing Logical Or information on that page.