for Each
Iterates over every key-value pair in the map and passes them to the given function.
Parameters
function
the function to apply to every key-value pair.
Iterates over every key-value pair in the map and passes them to the given function.
the function to apply to every key-value pair.