Returns a new map containing only entries that match the predicate.
| map |
the source map. |
| fn |
predicate taking key and value. |
| hash_func |
hash function for key type K. |
| equal_func |
equality function for key type K. |
|
a new filtered map. |