has-any-deep
Return true if `key` exists deeply on the given object.
Last updated 6 years ago by jonschlinkert .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install has-any-deep 
SYNC missed versions from official npm registry.

has-any-deep NPM version Build Status

Return true if key exists deeply on the given object.

Install with npm

npm i has-any-deep --save

Running tests

Install dev dependencies.

npm i -d && npm test

Usage

var hasAnyDeep = require('has-any-deep');

hasAnyDeep({a: 'b'}, ['a']);
//=> 'true'

hasAnyDeep({a: 'b', b: {c: 'c'}}, ['c', 'd']);
//=> 'true'

Other libs

Other javascript/node.js utils that I maintain:

Author

Jon Schlinkert

License

Copyright (c) 2015 Jon Schlinkert
Released under the MIT license


This file was generated by verb-cli on March 24, 2015.

Current Tags

  • 0.3.2                                ...           latest (6 years ago)

5 Versions

  • 0.3.2                                ...           6 years ago
  • 0.3.1                                ...           6 years ago
  • 0.3.0                                ...           6 years ago
  • 0.2.0                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 5
This Week 11
This Month 46
Last Day 0
Last Week 14
Last Month 109
Dependencies (4)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |