Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/rambda.js>applySpec

Faster and smaller alternative to Ramda
Latest
function applySpec
import { applySpec } from "https://deno.land/x/rambda@9.3.0/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