Return true if
keyexists deeply on the given object.
npm i has-any-deep --save
Install dev dependencies.
npm i -d && npm test
var hasAnyDeep = require('has-any-deep');
hasAnyDeep({a: 'b'}, ['a']);
//=> 'true'
hasAnyDeep({a: 'b', b: {c: 'c'}}, ['c', 'd']);
//=> 'true'
Other javascript/node.js utils that I maintain:
Jon Schlinkert
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
This file was generated by verb-cli on March 24, 2015.