I have a YEAR field, controlled by a domain (1950-2030). The user can choose to pick a year from the picklist or do nothing, in which case
will populate the year correctly.
But if I use
if ($feature.YEAR == null)
and do not pick a year from the picklist, nothing happens. The year is not populated.
So what I'm trying to do is have Arcade ignore the user input, but if the user inputs nothing, perform the calculation.