This package has been deprecated

Author message:

Use the `has` method in `setvalue` instead

hasvalue
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Hasvalue

NPM version NPM downloads Build status Test coverage

Check if a value exists at a nested property path.

Installation

npm install hasvalue --save

Usage

import { has } from 'hasvalue'
 
const obj = { a: { b: { c: 10 } } }
 
has(obj, ['a', 'b', 'c']) //=> true

License

Apache 2.0

Dependencies (0)

    Dev Dependencies (7)

    Package Sidebar

    Install

    npm i hasvalue

    Weekly Downloads

    0

    Version

    1.0.1

    License

    Apache-2.0

    Last publish

    Collaborators

    • blakeembrey