Installation
npm install --save @types/dlv
Summary
This package contains type definitions for dlv (https://github.com/developit/dlv#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dlv.
index.d.ts
/**
* Safely get a dot-notated path within a nested object, with ability to
* return a default if the full key path does not exist or the value is
* undefined
*/
export = dlv;
declare function dlv(object: object, key: string | Array<string | number>, defaultValue?: any): any;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
Credits
These definitions were written by Ryan Sonshine.