Skip to content

Function: arrayPluck() ​

arrayPluck<T, K>(array, key): T[K][]

Defined in: src/arrays.ts:252

Pluck an array of values from an array of objects.

Type Parameters ​

T ​

T

K ​

K extends string | number | symbol

Parameters ​

array ​

T[]

The source array

key ​

K

The key to pluck

Returns ​

T[K][]

The plucked values

Documentation of 1.0.13 , built from cf61d3b on 1.0.13 by pipeline #2985011498 on 2026-10-21.