Predicate function checking if haystack object contains needle object
var contains = require('object-contains');
var obj = { can: 'help', nope: true };
contains(obj, { nope: true }); // ==> true
contains(obj, { nope: false }); // ==> false| Name | Name | Last commit date | ||
|---|---|---|---|---|