1 | /**
|
2 | @hidden
|
3 | */
|
4 | export type CollectionLike<T> = {
|
5 | has: (item: T) => boolean;
|
6 | };
|
7 | /**
|
8 | Retrieve the missing values in a collection based on an array of items.
|
9 |
|
10 | @hidden
|
11 |
|
12 | @param source - Source collection to search through.
|
13 | @param items - Items to search for.
|
14 | @param maxValues - Maximum number of values after the search process is stopped. Default: 5.
|
15 | */
|
16 | declare const hasItems: <T>(source: CollectionLike<T>, items: readonly T[], maxValues?: number) => true | T[];
|
17 | export default hasItems;
|