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