🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

has-any-deep

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

has-any-deep

Return true if `key` exists deeply on the given object.

latest
Source
npmnpm
Version
0.3.2
Version published
Weekly downloads
452
19.26%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

has

FAQs

Package last updated on 25 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts