Skip to main content
Module

x/rambda/files/index.d.ts>objOf

Faster and smaller alternative to Ramda
Latest
function objOf
import { objOf } from "https://deno.land/x/rambda@9.3.0/files/index.d.ts";

Type Parameters

T
K extends string

Parameters

key: K
value: T

Returns

Record<K, T>

Type Parameters

K extends string

Returns

<T>(value: T) => Record<K, T>