Converts an array or object of values into a map using a key function. The key function is used to generate the keys for the map. The optional operation function is used to transform the values before adding them to the map.
Optional
Converts an array or object of values into a map using a key function. The key function is used to generate the keys for the map. The optional operation function is used to transform the values before adding them to the map.