table.Merge
Example
"Merges" the content of the second table with the first one, overwriting any matching key/value pairs in the destination with the source's version and prints the resulting merge.
Output: 1 = Two
2 = Orange
3 = Apple
Recursively merges the key-value pairs of the source
table with the key-value pairs in the destination
table.
See table.Inherit, which doesn't override existing values.
See also table.Add, which simply adds values of one table to another.
true
, does not recursively merge sub-tables, and simply replaces them."Merges" the content of the second table with the first one, overwriting any matching key/value pairs in the destination with the source's version and prints the resulting merge.