mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
Bump to v4.13.0.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import baseClone from './_baseClone';
|
||||
import baseConforms from './_baseConforms';
|
||||
import baseClone from './_baseClone.js';
|
||||
import baseConforms from './_baseConforms.js';
|
||||
|
||||
/**
|
||||
* Creates a function that invokes the predicate properties of `source` with
|
||||
@@ -19,7 +19,7 @@ import baseConforms from './_baseConforms';
|
||||
* { '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) {
|
||||
|
||||
Reference in New Issue
Block a user