Nodular Pudding Multiverse

object-contains

0.1.0 • Public • Published

object-contains

Predicate function checking if haystack object contains needle object

Useage

var contains = require('object-contains');
var obj = { can: 'help', nope: true };
 
contains(obj, { nope: true }); // ==> true
contains(obj, { nope: false }); // ==> false

Keywords

none

install

npm i object-contains

Downloadsweekly downloads

19

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability