We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Checks if the string is empty or not.
String.prototype.isNotEmpty();
Is empty FALSE or not TRUE.
FALSE
TRUE
var s1 = ''; var s2 = ' '; var s3 = 'TM'; // (false) var res1 = s1.isNotEmpty(); // (true) var res2 = s2.isNotEmpty(); // (true) var res3 = s3.isNotEmpty();