mapKeys

Returns a new EntryFields with entries having the keys obtained by applying the transform function to each entry and the values of fields.

In case if any two entries are mapped to the equal keys, the value of the latter one will overwrite the value associated with the former one.