[ library(hash) | Reference Manual | Alphabetic Index ]

# hash_list(+Table, -KeyVals)

Retrieve the hash table contents as a list of pairs

Table
  A hash table
KeyVals
  a variable or list

## Description

Retrieve the hash table contents in the form of a list of Key-Value pairs. This list can then be sorted, e.g. using keysort/2.

### Modes and Determinism

- hash_list(+, -) is det

## See Also

hash_list / 3, hash_keys / 2, keysort / 2