Clarify arity param of _.curry. [ci skip]

This commit is contained in:
John-David Dalton
2015-12-15 23:10:48 -08:00
parent db731e0c91
commit ccfb968b8a

View File

@@ -8260,11 +8260,11 @@
}); });
/** /**
* Creates a function that accepts one or more arguments of `func` that when * Creates a function that accepts arguments of `func` and either invokes
* called either invokes `func` returning its result, if all `func` arguments * `func` returning its result, if at least `arity` number of arguments have
* have been provided, or returns a function that accepts one or more of the * been provided, or returns a function that accepts the remaining `func`
* remaining `func` arguments, and so on. The arity of `func` may be specified * arguments, and so on. The arity of `func` may be specified if `func.length`
* if `func.length` is not sufficient. * is not sufficient.
* *
* The `_.curry.placeholder` value, which defaults to `_` in monolithic builds, * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,
* may be used as a placeholder for provided arguments. * may be used as a placeholder for provided arguments.