How to apply a condition of a list of numbers

I have this local variable

local!variable:
{2017,2018,2019,2020}

local!variable2:
a!forEach(
   items: local!variable,
   expression: if(fv!item<2018,"PRE-YEAR",fv!item)
 ),

I wanted a result like:

{"PRE-YEAR",2018,2019,2020}

Error:

Please help me 

  Discussion posts and replies are publicly visible