Function SList.clear
Removes all contents from the list.
void clear();
Example
SList!int l = SList!int([8, 5]);
assert(!l .empty);
l .clear();
assert(l .empty);
Removes all contents from the list.
void clear();
SList!int l = SList!int([8, 5]);
assert(!l .empty);
l .clear();
assert(l .empty);