import { getShowableRecord } from "https://deno.land/x/fun@v2.0.0/record.ts";
Given a Showable for the inner values of a ReadonlyRecord, return an instance of Showable for ReadonlyRecord.
Examples
Example 1
Example 1
import * as R from "./record.ts";
import { ShowableNumber } from "./number.ts";
const { show } = R.getShowableRecord(ShowableNumber);
const result = show({ one: 1, two: 2, three: 3 });
// "{one: 1, two: 2, three: 3}"