## Function: COMMON-LISP:MAPHASH [![package](https://img.shields.io/badge/Package-COMMON--LISP-5f9ea0.svg?style=social&colorA=999999)](../) [![type](https://img.shields.io/badge/Type-Function-5f9ea0.svg?style=social&colorA=999999)](../#function) [![clhs](https://img.shields.io/badge/CLHS-MAPHASH-5f9ea0.svg?style=social&colorA=999999)](http://www.lispworks.com/documentation/HyperSpec/Body/f_maphas.htm) [![github](https://img.shields.io/badge/GitHub-View_the_source-5f9ea0.svg?style=social&colorA=999999&logo=github)](https://github.com/sbcl/sbcl/blob/master/src/code/maphash.lisp/) > For each entry in HASH-TABLE, call the designated two-argument function on > the key and value of the entry. Return NIL. > > Consequences are undefined if HASH-TABLE is mutated during the call to > MAPHASH, except for changing or removing elements corresponding to the > current key. The applies to all threads, not just the current one -- > even for synchronized hash-tables. If the table may be mutated by > another thread during iteration, use eg. SB-EXT:WITH-LOCKED-HASH-TABLE > to protect the MAPHASH call. ### Lambda list ```cl (sb-kernel:function-designator hash-table) ```