mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
react app
This commit is contained in:
18
react-app/node_modules/lodash/internal/createFindKey.js
generated
vendored
Normal file
18
react-app/node_modules/lodash/internal/createFindKey.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
var baseCallback = require('./baseCallback'),
|
||||
baseFind = require('./baseFind');
|
||||
|
||||
/**
|
||||
* Creates a `_.findKey` or `_.findLastKey` function.
|
||||
*
|
||||
* @private
|
||||
* @param {Function} objectFunc The function to iterate over an object.
|
||||
* @returns {Function} Returns the new find function.
|
||||
*/
|
||||
function createFindKey(objectFunc) {
|
||||
return function(object, predicate, thisArg) {
|
||||
predicate = baseCallback(predicate, thisArg, 3);
|
||||
return baseFind(object, predicate, objectFunc, true);
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = createFindKey;
|
Reference in New Issue
Block a user