what type of chemical reaction is this

2 NaCl → Na + Cl2

This is a decomposition reaction.