import { mapKeys } from "https://dotland.deno.dev/std@0.181.0/collections/mod.ts";
Applies the given transformer to all keys in the given record's entries and returns a new record containing the transformed entries.
If the transformed entries contain the same key multiple times, only the last one will appear in the returned record.
Parameters
record: Readonly<Record<string, T>>