• 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.

    Parameters

    • object: object

      The object to query.

    • ...args: any[]

      The arguments to invoke the method with.

    Returns (path: PropertyPath) => any

    Returns the new function.