merge
merge multiple dicts into a single dict
(list lists) -> list
Returns a dict that contains all entries from all dicts
. Dicts are merged left to right. In case of duplicate keys across dicts, the rightmost occurrence takes precedence.
Returns nil
if dicts
is nil
.
Returns nil
if any element of dicts
is nil.
Throws an error if any element of dicts
is not a dict.
Parameters
Name | Type | Description |
---|---|---|
dicts |
list | The list of dicts to merge |