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