mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Remove references to _.
This commit is contained in:
@@ -4,7 +4,6 @@ import baseInvoke from './_baseInvoke.js';
|
||||
* Invokes the method at `path` of `object`.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 4.0.0
|
||||
* @category Object
|
||||
* @param {Object} object The object to query.
|
||||
@@ -15,7 +14,7 @@ import baseInvoke from './_baseInvoke.js';
|
||||
*
|
||||
* var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };
|
||||
*
|
||||
* _.invoke(object, 'a[0].b.c.slice', 1, 3);
|
||||
* invoke(object, 'a[0].b.c.slice', 1, 3);
|
||||
* // => [2, 3]
|
||||
*/
|
||||
function invoke(object, path, ...args) {
|
||||
|
||||
Reference in New Issue
Block a user