1.0.1 • Published 7 years ago
hasvalue v1.0.1
Hasvalue
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