Simplify _.conforms doc example. [ci skip]

This commit is contained in:
John-David Dalton
2016-05-18 17:40:12 -07:00
parent de6cc79ac8
commit 56b397b506

View File

@@ -14671,7 +14671,7 @@
* { 'user': 'fred', 'age': 40 }
* ];
*
* _.filter(users, _.conforms({ 'age': _.partial(_.gt, _, 38) }));
* _.filter(users, _.conforms({ 'age': function(n) { return n > 38; } }));
* // => [{ 'user': 'fred', 'age': 40 }]
*/
function conforms(source) {