Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the Sys.StringBuilder object has content.
var stringBuilderVar = new Sys.StringBuilder();
var isEmptyVar = stringBuilderVar.isEmpty();
Returns
true if the StringBuilder instance contains no elements; otherwise, false.
Remarks
Use the isEmpty method to determine whether a StringBuilder instance has any content. If you append an empty string, null, or an undefined value to an empty StringBuilder instance, the instance remains empty and unchanged.