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
* @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
*