Hello,
I am using the arcade expressions for a popup feature for emergency statuses. When you click on the land parcel of interest, if the parcel intersects with the evacuation polygon it will say the Type field: 'Evacuation Alert'. But if you are not in an evacuation alert area; I would like it to say 'None'.
This is currently how I have the code which is how it is displaying on the below images:
var intersectLayer=Intersects(FeatureSetByName($map,"RDNO Evacuation Areas"), $feature)
for (var f in intersectLayer)
if (IsEmpty(intersectLayer)) {
return "None"
} else{
return f.Type
}

I have reviewed the other posts from these two below, I don't know what's going wrong here.
https://community.esri.com/t5/arcgis-online-questions/arcade-intersect-returns-null-field-values/td-p/1174652
https://community.esri.com/t5/arcgis-pro-questions/arcade-if-else-do-nothing/td-p/207436