rambdax
Version:
Extended version of Rambda - a lightweight, faster alternative to Ramda
20 lines (18 loc) • 586 B
text/typescript
import {HasPath as OHasPath} from '../Object/HasPath'
import {Match} from '../Any/_Internal'
import {Key} from '../Any/Key'
import {ObjectOf} from './ObjectOf'
import {List} from './List'
/**
Check whether `L` has nested entries that match `M`
```ts
```
*/
export type HasPath<L extends List, Path extends List<Key>, M extends any = any, match extends Match = 'default'> =
OHasPath<ObjectOf<L>, Path, M, match>