Utils.shallowCopy
Copies keys from orig into target. Existing keys in target are overwritten.
Copies keys from orig into target. Existing keys in target are overwritten.
target = Utils.shallowCopy( orig, target )Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
orig |
table | Table to copy from |
target |
table | Table to copy into |
Returns
Section titled “Returns”| Name | Type | Description |
|---|---|---|
target |
table |