Function List.empty
Returns whether the list is empty (i.e. whether its length is 0).
bool empty() const pure nothrow @nogc @property scope @safe;
Examples
List!(int) list;
assert(list .empty);
list .append(42);
assert(!list .empty);