Package: alexandria

Function hash-table-keys

Lambda List

hash-table-keys (table)

Arguments

table -- a hash table

Return Value

a list

Details

Returns a list containing the keys of the hash table table.

Examples

(defvar table (make-hash-table)) => TABLE
(setf (gethash 'Germany table) 'Berlin) => BERLIN
(setf (gethash 'France table) 'Paris) => PARIS
(setf (gethash 'Britain table) 'London) => LONDON
(hash-table-keys table) => (FRANCE BRITAIN GERMANY)    
 

See also