Function HashTable.clear
Removes all elements.
void clear();
Example
HashTable!(string, int) hashTable;
hashTable["five"] = 5;
assert(!hashTable .empty);
hashTable .clear();
assert(hashTable .empty);
Removes all elements.
void clear();
HashTable!(string, int) hashTable;
hashTable["five"] = 5;
assert(!hashTable .empty);
hashTable .clear();
assert(hashTable .empty);