Two digits, two statements
The IP code under EN 60529 (IEC 60529) describes the protection an enclosure provides. The first digit stands for protection against the ingress of solid foreign objects and at the same time for the protection of persons against access to hazardous parts. The second digit stands for protection against water.
If a digit is not specified, an X takes its place – IPX4 thus says something about water only. The two digits are independent of each other and are tested separately.