hi, is there a better way of merging entries from ...
# announcements
n
hi, is there a better way of merging entries from one map to another one but only those keys that are not available in the new one. Don’t want to update values for existing keys
Copy code
oldMap.forEach{ key, value -> newMap.putIfAbsent(key, value) }