Skip to main content
Module

x/rambda/immutable.d.ts>applySpec

Faster and smaller alternative to Ramda
Latest
function applySpec
import { applySpec } from "https://deno.land/x/rambda@v9.2.0/immutable.d.ts";

Type Parameters

Spec extends Record<string, AnyFunction>

Returns

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

Parameters

spec: any

Returns

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