H A D | objects.js | 911 var moe = {name: 'Moe Howard', hair: true}; property in AnonymousFunction235956213700.moe 912 var curly = {name: 'Curly Howard', hair: false}; property in AnonymousFunction235956213700.curly 914 assert.equal(_.isMatch(moe, {hair: true}), true, 'Returns a boolean'); 915 assert.equal(_.isMatch(curly, {hair: true}), false, 'Returns a boolean'); 951 var moe = {name: 'Moe Howard', hair: true}; property in AnonymousFunction235956213b00.moe 952 var curly = {name: 'Curly Howard', hair: false}; property in AnonymousFunction235956213b00.curly 955 assert.equal(_.matcher({hair: true})(moe), true, 'Returns a boolean'); 956 assert.equal(_.matcher({hair: true})(curly), false, 'Returns a boolean'); 964 …assert.strictEqual(_.find(stooges, _.matcher({hair: false})), curly, 'returns a predicate that can…
|