Checks if the string is an empty string - Node.js String

Node.js examples for String:Parse

Description

Checks if the string is an empty string

Demo Code

   /*w w w  .  j  av  a 2  s  .c o m*/
 /*
 * @return boolean check result
 */
empty: function() {
  return this == '';
},

Related Tutorials