AnsweredAssumed Answered

Arcade: I Need the Opposite of IsEmpty Inside a When Statement

Question asked by deleted-user-1_r2dgYuILKY on May 16, 2019
Latest reply on May 16, 2019 by deleted-user-1_r2dgYuILKY

I have an intersect layer (footprintMatch) in an Arcade expression. I'm setting up a when conditional statement that starts with:

When(propCode == '100' && IsEmpty(permitYear) && IsEmpty(footprintMatch),
,'',...)

 

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?

Outcomes