Skip to content

Function: arrayWhere() ​

arrayWhere<T>(array, callback): T[]

Defined in: src/arrays.ts:238

Filter the array using the given callback.

Type Parameters ​

T ​

T

Parameters ​

array ​

T[]

The source array

callback ​

(item, index) => boolean

The callback to use for filtering

Returns ​

T[]

The filtered array

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