• Invokes the method at path of object.

    Parameters

    • object: any

      The object to query.

    • path: PropertyPath

      The path of the method to invoke.

    • Rest...args: any[]

      The arguments to invoke the method with.

    Returns any