Updates the value of a nested object property using a specific path.

  • Parameters

    • object: any

      The object to update.

    • path: any

      The path to the property. Can be either a dot-separated string or an array of strings.

    • value: any

      The new value to set for the property.

    Returns boolean

    • Returns true if the property was successfully updated, false otherwise.