* Creates a function like `_.over`. * * @private * @param {Function} arrayFunc The function to iterate over iteratees. * @returns {Function} Returns the new over function.
(arrayFunc)
| 12993 | * @returns {Function} Returns the new over function. |
| 12994 | */ |
| 12995 | function createOver(arrayFunc) { |
| 12996 | return flatRest(function(iteratees) { |
| 12997 | iteratees = arrayMap(iteratees, baseUnary(getIteratee())); |
| 12998 | return baseRest(function(args) { |
| 12999 | var thisArg = this; |
| 13000 | return arrayFunc(iteratees, function(iteratee) { |
| 13001 | return apply(iteratee, thisArg, args); |
| 13002 | }); |
| 13003 | }); |
| 13004 | }); |
| 13005 | } |
| 13006 | |
| 13007 | /** |
| 13008 | * Creates the padding for `string` based on `length`. The `chars` string |
no test coverage detected