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

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

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

Type Parameters

K extends keyof T
T

Parameters

property: K
list: T[]

Parameters

property: number
list: { [k: number]: T; }[]

Type Parameters

P extends string

Parameters

property: P

Returns

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

Parameters

property: number

Returns

<T>(list: { [k: number]: T; }[]) => T[]