map
import { map } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/record.ts";Creates a new object with the same keys of ua. Values are transformed
using fai.
@example
import { map } from "./record.ts"
map((n: number) => n + 1)({ a: 1 }); // { a: 2 }