UNPKG

521 BTypeScriptView Raw
1import { Match } from '../Any/_Internal';
2import { Includes as OIncludes } from '../Object/Includes';
3import { ObjectOf } from './ObjectOf';
4import { List } from './List';
5/**
6 * Check whether `L` has entries that match `M`
7 * @param L to be inspected
8 * @param M to check entry type
9 * @param match (?=`'default'`) to change precision
10 * @returns [[Boolean]]
11 * @example
12 * ```ts
13 * ```
14 */
15export declare type Includes<L extends List, M extends any, match extends Match = 'default'> = OIncludes<ObjectOf<L>, M, match>;