Report question

Question: How to check if a text is all white space characters in client side?