I have an intersect layer (footprintMatch) in an Arcade expression. I'm setting up a when conditional statement that starts with:
<SPAN class="token function">When</SPAN><SPAN class="punctuation token">(</SPAN>propCode <SPAN class="operator token">==</SPAN> <SPAN class="string token">'100'</SPAN> <SPAN class="operator token">&&</SPAN> <SPAN class="token function">IsEmpty</SPAN><SPAN class="punctuation token">(</SPAN>permitYear<SPAN class="punctuation token">)</SPAN> <SPAN class="operator token">&&</SPAN> <SPAN class="token function">IsEmpty</SPAN><SPAN class="punctuation token">(</SPAN>footprintMatch<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">,</SPAN>
<SPAN class="punctuation token">,</SPAN><SPAN class="string token">''</SPAN><SPAN class="punctuation token">,</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN></SPAN>
That's when the property code is vacant residential land and there has not been a construction permit issued and there is no building footprint, then return nothing. That's truly vacant land.
The next conditional I need would be the following scenario:
property code is vacant and there is no construction permit, but there IS a building footprint, then return instructions to view the building footprint in an aerial photo basemap for confirmation. I'm trying to figure out the opposite of IsEmpty. Like how do I signify that there is a match from that intersect layer? In Python I could just place the variable as follows:
When(propCode == '100' && IsEmpty(permitYear) && footprintMatch,
,'Confirm building footprint in aerial photo',...)
Do I need to nest an Iif statement in the when statement?