What is the use of NaN function?

NaN function returns true if the argument is not a number otherwise it is false.