Namespace Pollution Mechanism
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    hasvaluepublic

    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

    install

    npm i hasvalue

    Downloadsweekly downloads

    4

    version

    1.0.1

    license

    Apache-2.0

    repository

    githubgithub

    last publish

    collaborators

    • avatar