* Creates a `_.findKey` or `_.findLastKey` function. * * @private * @param {Function} objectFunc The function to iterate over an object. * @returns {Function} Returns the new find function.
(objectFunc)
| 4825 | * @returns {Function} Returns the new find function. |
| 4826 | */ |
| 4827 | function createFindKey(objectFunc) { |
| 4828 | return function(object, predicate, thisArg) { |
| 4829 | predicate = getCallback(predicate, thisArg, 3); |
| 4830 | return baseFind(object, predicate, objectFunc, true); |
| 4831 | }; |
| 4832 | } |
| 4833 | |
| 4834 | /** |
| 4835 | * Creates a `_.flow` or `_.flowRight` function. |
no test coverage detected