node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

hasvalue

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