Function BasicString.empty
Returns whether the string is empty (i.e. whether its length is 0).
bool empty() const pure nothrow @nogc @property scope @safe;
Examples
BasicString!char str;
assert(str .empty);
str = "123";
assert(!str .empty);