Is String empty - Node.js String

Node.js examples for String:String Value

Description

Is String empty

Demo Code


String.prototype.isEmpty=function(){
  return this.trim()=="";
};

Related Tutorials