UNPKG

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