by hellofunk · 8y ago · 0 comments
Using get is ambiguous, getting a nil result may mean that the key was not found or that there was no map in the first place.
(gethash key hash-table)
Returns two values: the first one is the value found in the hash table, or nil if no value was found. The second one is nil (i.e. false) if no value was found and non-nil (maybe t? I forget what the standard says) if a value was found.