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

x/rambda/files/index.d.ts>applySpec

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

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