getting this error Binary operator '==' cannot be applied to operands of type 'Any' and 'Int' : for i in class_User.day{
                if i == 1{
                    print(i)
                    strdays += "1"
                }
               else if (i == "2"){
                   print(i)
                   strdays += "- 2"
           }
        }


I m using this for array which comes from api but i am getting this error can you please tell me solution