* Creates a function like `_.over`. * * @private * @param {Function} arrayFunc The function to iterate over iteratees. * @returns {Function} Returns the new over function.
(arrayFunc)
| 12904 | * @returns {Function} Returns the new over function. |
| 12905 | */ |
| 12906 | function createOver(arrayFunc) { |
| 12907 | return flatRest(function(iteratees) { |
| 12908 | iteratees = arrayMap(iteratees, baseUnary(getIteratee())); |
| 12909 | return baseRest(function(args) { |
| 12910 | var thisArg = this; |
| 12911 | return arrayFunc(iteratees, function(iteratee) { |
| 12912 | return apply(iteratee, thisArg, args); |
| 12913 | }); |
| 12914 | }); |
| 12915 | }); |
| 12916 | } |
| 12917 | |
| 12918 | /** |
| 12919 | * Creates the padding for `string` based on `length`. The `chars` string |
no test coverage detected