1 | import { Match } from '../Any/_Internal';
|
2 | import { Has as OHas } from '../Object/Has';
|
3 | import { Key } from './_Internal';
|
4 | import { ObjectOf } from './ObjectOf';
|
5 | import { List } from './List';
|
6 | /**
|
7 | * Check whether `L` has a entry of key `K` that matches `M`
|
8 | * @param L to be inspected
|
9 | * @param K to choose entry
|
10 | * @param M (?=`any`) to check entry type
|
11 | * @param match (?=`'default'`) to change precision
|
12 | * @returns [[Boolean]]
|
13 | * @example
|
14 | * ```ts
|
15 | * ```
|
16 | */
|
17 | export declare type Has<L extends List, K extends Key, M extends any = any, match extends Match = 'default'> = OHas<ObjectOf<L>, `${K & number}` | K, M, match>;
|