Returns an AsyncOperationFunction that yields only entries of the source Iterable that satisfy the function.
The type of the elements in the source Iterable.
The function to use to filter the entries.
An AsyncOperationFunction that yields only entries of the source Iterable that satisfy the function.
const result = filterAsync<number>([1, 2, 3], (value) => value > 1);console.log(result); // [2, 3] Copy
const result = filterAsync<number>([1, 2, 3], (value) => value > 1);console.log(result); // [2, 3]
Returns an AsyncOperationFunction that yields only entries of the source Iterable that satisfy the function.