Skip to main content
Module

x/rambda/immutable.d.ts>applySpec

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

Type Parameters

Spec extends Record<string, (...args: readonly any[]) => any>

Returns

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

Parameters

spec: any

Returns

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