@newdash/newdash
Version:
javascript/typescript utility library
13 lines (12 loc) • 455 B
TypeScript
/**
* 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 arguments to invoke the method with.
* @returns {*} Returns the result of the invoked method.
*/
export function baseInvoke(object: any, path: any[] | string, args: any[]): any;
export default baseInvoke;