UNPKG

495 BTypeScriptView Raw
1/**
2 * @hidden
3 */
4export interface CollectionLike<T> {
5 has(item: T): boolean;
6}
7declare const _default: <T>(source: CollectionLike<T>, items: T[], maxValues?: number) => true | T[];
8/**
9 * Retrieve the missing values in a collection based on an array of items.
10 *
11 * @hidden
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 */
16export default _default;