1 | import type { BasePredicate } from '../predicates/base-predicate.js';
|
2 | /**
|
3 | Test all the values in the collection against a provided predicate.
|
4 |
|
5 | @hidden
|
6 | @param source Source collection to test.
|
7 | @param name The name to call the collection of values, such as `values` or `keys`.
|
8 | @param predicate Predicate to test every item in the source collection against.
|
9 | */
|
10 | declare const ofType: <T>(source: IterableIterator<T> | Set<T> | T[], name: string, predicate: BasePredicate<T>) => boolean | string;
|
11 | export default ofType;
|