- Preparing search index...
- The search index is not available
itr8
- every<TIn>(filterFn: ((TIn: any) => boolean | Promise<boolean>)): TTransIteratorSyncOrAsync<TIn, boolean>
-
Parameters
-
filterFn: ((TIn: any) => boolean | Promise<boolean>)
-
- (TIn: any): boolean | Promise<boolean>
-
Returns boolean | Promise<boolean>
Return true if every item returns true on the test function.
Example
The filter function can be asynchronous (in which case the resulting iterator will be asynchronous regardless of the input iterator)!