Module

x/rambda/rambda.js>applySpec

Faster and smaller alternative to Ramda
Latest
function applySpec
import { applySpec } from "https://dotland.deno.dev/x/rambda@9.4.1/rambda.js";

Type Parameters

Spec extends Record<string, AnyFunction>

Returns

(...args: Parameters<ValueOfRecord<Spec>>) => [Key in keyof Spec]: ReturnType<Spec[Key]>

Parameters

spec: any

Returns

(...args: unknown[]) => T