Question: is the square root of x even or odd?
Answer: It is indeed true that "whenever both x and −x are in the domain of the square root function the function values agree" because (as you know quite well) only x=0 satisfies that hypothesis. So according to the strict reading of the definition, the square root function is even.