From 6c5ac490ab3cdfd3411d51528ed0491a32049429 Mon Sep 17 00:00:00 2001 From: jdalton Date: Thu, 21 May 2015 08:46:10 -0700 Subject: [PATCH] Document partial args of `_.method` and `_.methodOf`. [ci skip] [closes #1223] --- lodash.src.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lodash.src.js b/lodash.src.js index 599461435..c94de5a80 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -11382,12 +11382,14 @@ } /** - * Creates a function which invokes the method at `path` on a given object. + * Creates a function that invokes the method at `path` on a given object. + * Any additional arguments are provided to the invoked method. * * @static * @memberOf _ * @category Utility * @param {Array|string} path The path of the method to invoke. + * @param {...*} [args] The arguments to invoke the method with. * @returns {Function} Returns the new function. * @example * @@ -11409,13 +11411,15 @@ }); /** - * The opposite of `_.method`; this method creates a function which invokes - * the method at a given path on `object`. + * The opposite of `_.method`; this method creates a function that invokes + * the method at a given path on `object`. Any additional arguments are + * provided to the invoked method. * * @static * @memberOf _ * @category Utility * @param {Object} object The object to query. + * @param {...*} [args] The arguments to invoke the method with. * @returns {Function} Returns the new function. * @example *