Remove references to _.

This commit is contained in:
John-David Dalton
2017-01-09 17:38:33 -08:00
parent 65654f8f9e
commit 77cc37ba49
410 changed files with 875 additions and 1157 deletions

View File

@@ -2,11 +2,10 @@ import baseFindKey from './_baseFindKey.js';
import baseForOwn from './_baseForOwn.js';
/**
* This method is like `_.find` except that it returns the key of the first
* This method is like `find` except that it returns the key of the first
* element `predicate` returns truthy for instead of the element itself.
*
* @static
* @memberOf _
* @since 1.1.0
* @category Object
* @param {Object} object The object to inspect.
@@ -21,7 +20,7 @@ import baseForOwn from './_baseForOwn.js';
* 'pebbles': { 'age': 1, 'active': true }
* };
*
* _.findKey(users, function(o) { return o.age < 40; });
* findKey(users, function(o) { return o.age < 40; });
* // => 'barney' (iteration order is not guaranteed)
*/
function findKey(object, predicate) {