Document partial args of _.method and _.methodOf. [ci skip] [closes #1223]

This commit is contained in:
jdalton
2015-05-21 08:46:10 -07:00
parent 50b9840db1
commit 6c5ac490ab

View File

@@ -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 * @static
* @memberOf _ * @memberOf _
* @category Utility * @category Utility
* @param {Array|string} path The path of the method to invoke. * @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. * @returns {Function} Returns the new function.
* @example * @example
* *
@@ -11409,13 +11411,15 @@
}); });
/** /**
* The opposite of `_.method`; this method creates a function which invokes * The opposite of `_.method`; this method creates a function that invokes
* the method at a given path on `object`. * the method at a given path on `object`. Any additional arguments are
* provided to the invoked method.
* *
* @static * @static
* @memberOf _ * @memberOf _
* @category Utility * @category Utility
* @param {Object} object The object to query. * @param {Object} object The object to query.
* @param {...*} [args] The arguments to invoke the method with.
* @returns {Function} Returns the new function. * @returns {Function} Returns the new function.
* @example * @example
* *