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

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

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

Type Parameters

P extends string
T

Parameters

propsToPick: P[]
obj: Record<P, T>

Type Parameters

P extends string

Parameters

propsToPick: P[]

Returns

<T>(obj: Record<P, T>) => T[]

Type Parameters

P extends string
T

Parameters

propsToPick: P[]

Returns

(obj: Record<P, T>) => T[]