Package: alexandria

Function hash-table-values

Lambda List

hash-table-values (table)

Arguments

table -- a hash table

Return Value

a list

Details

Returns a list containing the values 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-values table) => (PARIS LONDON BERLIN)    
 

See also