1
0
Fork 0
js-utils/docs/api/js-utils.filterzip.md

636 B

Home > @apextoaster/js-utils > filterZip

filterZip() function

Filter and zip some arrays. The cb is called for each slice, which is kept if cb returns true.

Signature:

export declare function filterZip<T1>(cb: (a: T1) => boolean, l1: Array<T1>): Array<T1>;

Parameters

Parameter Type Description
cb (a: T1) => boolean
l1 Array<T1>

Returns:

Array<T1>