Home > @wixc3/common > filter
Signature:
export declare function filter<T>(iterable: Nullable<Iterable<T>>, predicate: Predicate<T>): Iterable<T>;
Parameter | Type | Description |
---|---|---|
iterable | [Nullable](/core3-utils/common.nullable.html)<Iterable<T>> | |
predicate | [Predicate](/core3-utils/common.predicate.html)<T> |
Returns:
Iterable<T>