* The base implementation of `_.invoke` without support for individual * method arguments. * * @private * @param {Object} object The object to query. * @param {Array|string} path The path of the method to invoke. * @param {Array} args The argumen
(object, path, args)
| 13842 | * @returns {*} Returns the result of the invoked method. |
| 13843 | */ |
| 13844 | function baseInvoke(object, path, args) { |
| 13845 | path = castPath(path, object); |
| 13846 | object = parent(object, path); |
| 13847 | var func = object == null ? object : object[toKey(last(path))]; |
| 13848 | return func == null ? undefined : apply(func, object, args); |
| 13849 | } |
| 13850 | |
| 13851 | /** |
| 13852 | * The base implementation of `_.isArguments`. |