Renaming Record Keys in JavaScript Without If-Else Statements
Is there a way to rename a record key to another name? Record.mapKeys is hardcoded, and we have to use if-else statements to rename it. I want something like
Record.renameKey("key", "keyRenamed")(Obj) to replace the key name directly.