UNPKG

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