From 56b397b506cb0121d6e3c20b55d13026f79c9474 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 18 May 2016 17:40:12 -0700 Subject: [PATCH] Simplify `_.conforms` doc example. [ci skip] --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index 14e950040..d4799cdd3 100644 --- a/lodash.js +++ b/lodash.js @@ -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) {