Per fare una condizione si usa (a==b).
confronto