Skip to main content
Module

x/rambda/index.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/index.d.ts";

Type Parameters

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

Returns

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

Parameters

spec: any

Returns

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