IsEmpty
Reports whether the string holds no bytes.
Module: Text
Signature
rux
func IsEmpty(self) -> bool;Returns
true when the string holds no bytes, which is the case for New, for anything Free has left behind, and for a transformation that had nothing to give back.
Example
rux
import Text::String;
String::New().IsEmpty(); // true
var text = String::From("Rux");
text.IsEmpty(); // false
text.Free();
text.IsEmpty(); // true -- Free leaves an empty string behind