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

26 lines
636 B
Markdown
Raw Normal View History

2021-08-01 14:47:48 +00:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [@apextoaster/js-utils](./js-utils.md) &gt; [filterZip](./js-utils.filterzip.md)
## filterZip() function
2021-08-08 19:58:43 +00:00
Filter and zip some arrays. The `cb` is called for each slice, which is kept if `cb` returns true.
2021-08-01 14:47:48 +00:00
<b>Signature:</b>
```typescript
export declare function filterZip<T1>(cb: (a: T1) => boolean, l1: Array<T1>): Array<T1>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| cb | (a: T1) =&gt; boolean | |
| l1 | Array&lt;T1&gt; | |
<b>Returns:</b>
Array&lt;T1&gt;