main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
633 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | import { HasPath as OHasPath } from '../Object/HasPath';
|
---|
| 2 | import { Match } from '../Any/_Internal';
|
---|
| 3 | import { Key } from '../Any/Key';
|
---|
| 4 | import { ObjectOf } from './ObjectOf';
|
---|
| 5 | import { List } from './List';
|
---|
| 6 | /**
|
---|
| 7 | * Check whether `L` has nested entries that match `M`
|
---|
| 8 | * @param L to be inspected
|
---|
| 9 | * @param Path to be followed
|
---|
| 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 HasPath<L extends List, Path extends List<Key>, M extends any = any, match extends Match = 'default'> = OHasPath<ObjectOf<L>, Path, M, match>;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.