636 B
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>