HashTable.empty

Checks if the hashtable is empty.

Arguments

None

Return values

condition
is TRUE if there are no entries in the hashtable, FALSE otherwise.

Complexity

Constant

Example

"sl/hashTable" useFile a: HashTable; a.empty print LF print 34 "element" a.insert a.empty print
Output:
TRUE FALSE