* Creates a function that accepts arguments of `func` and either invokes * `func` returning its result, if at least `arity` number of arguments have * been provided, or returns a function that accepts the remaining `func` * arguments, and so on. The arity of `func` may be specified if
(func, arity, guard)
| 10295 | * // => [1, 2, 3] |
| 10296 | */ |
| 10297 | function curry(func, arity, guard) { |
| 10298 | arity = guard ? undefined : arity; |
| 10299 | var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity); |
| 10300 | result.placeholder = curry.placeholder; |
| 10301 | return result; |
| 10302 | } |
| 10303 | |
| 10304 | /** |
| 10305 | * This method is like `_.curry` except that arguments are applied to `func` |
no test coverage detected