Documentation / @blazetrails/activesupport / pluck
Function: pluck()
pluck<
T,K>(collection, ...keys):T[K][] |T[K][][]
Defined in: packages/activesupport/lib/core-ext/enumerable.ts:117
Type Parameters
| Type Parameter |
|---|
T |
K extends string | number | symbol |
Parameters
| Parameter | Type |
|---|---|
collection | Iterable<T, any, any> | Each<T, unknown> |
...keys | K[] |
Returns
T[K][] | T[K][][]