Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

getShowableRecord

import { getShowableRecord } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/record.ts";

Given a Showable for the inner values of a ReadonlyRecord, return an instance of Showable for ReadonlyRecord.

@example
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}"
function getShowableRecord<A>(SA: Showable<A>): Showable<ReadonlyRecord<A>>;
§
getShowableRecord<A>(SA: Showable<A>): Showable<ReadonlyRecord<A>>
[src]

§Type Parameters

§Parameters