Checks if the string contains only white-spaces - Node.js String

Node.js examples for String:Parse

Description

Checks if the string contains only white-spaces

Demo Code


/**/*w w w.  ja v a2  s  . c om*/
 * checks if the string contains only white-spaces
 *
 * @return boolean check result
 */
blank: function() {
  return this == false;
},

Related Tutorials