Open
Description
Is your feature request related to a problem? Please describe.
Renames single key of an object.
Describe the solution you'd like
const obj = {key: 1};
RA.renameKey('key', 'renamedKey', obj); //=> {renamedKey: 1}
Describe alternatives you've considered
RA.renameKeyWith
Additional context
This function should be implemented as specialization of R.renameKeys. Ramda cookbook contains reference to this function. After the implement edit cookbook and the reference there.
- implement the function
- add ref to ramda cookbook