filterSet
filterSet<
T>(set,filterFunction):Set<T>
Defined in: utils/set.ts:7
Filters a Set based on the provided filter function.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”Set<T>
The original Set to filter.
filterFunction
Section titled “filterFunction”(item) => boolean
The function used to filter the Set.
Returns
Section titled “Returns”Set<T>
A new Set containing only the elements that satisfy the filter function.