JSPM

has-any-deep

0.3.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 125
  • Score
    100M100P100Q80773F
  • License

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

Package Exports

  • has-any-deep

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (has-any-deep) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.