Rename elements in a dictionary.
Usage | Returns |
---|---|
Dictionary.rename(from, to, overwrite) | Dictionary |
Argument | Type | Details |
---|---|---|
this: dictionary | Dictionary | |
from | List | A list of keys to be renamed. |
to | List | A list of the new names for the keys listed in the 'from' parameter. Must have the same length as the 'from' list. |
overwrite | Boolean, default: false | Allow overwriting existing properties with the same name. |