npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

has-any-deep

0.3.2

@jonschlinkert

npmHomeRepoSnykSocket
Downloads:596
$ npm install has-any-deep
DailyWeeklyMonthlyYearly

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:

  • arrayify-compact
  • compact-object
  • for-in
  • for-own
  • has-any
  • has-value
  • is-number
  • is-plain-object
  • omit-empty
  • reduce-object

Author

Jon Schlinkert

  • github/jonschlinkert
  • twitter/jonschlinkert

License

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


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