Skip to content

Function: arrayOnly() ​

arrayOnly<T>(array, keys): T[]

Defined in: src/arrays.ts:223

Get a subset of the array's elements specified by keys (indices).

Type Parameters ​

T ​

T

Parameters ​

array ​

T[]

The source array

keys ​

string[]

The keys to include

Returns ​

T[]

The filtered array

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