mapKeysByFunction this method creates an object with the same values as object and keys generated by running each own enumerable string keyed property of object thru mapper.
{Record<any, T>}
mapKeysByFunction({ 'a': 1, 'b': 2 }, (value, key) => key + value);// returns { 'a1': 1, 'b2': 2 } Copy
mapKeysByFunction({ 'a': 1, 'b': 2 }, (value, key) => key + value);// returns { 'a1': 1, 'b2': 2 }
Generated using TypeDoc
mapKeysByFunction this method creates an object with the same values as object and keys generated by running each own enumerable string keyed property of object thru mapper.