Function setNestedValue

  • Sets a nested value in an object at the specified path.

    Parameters

    • obj: any

      The object to set the value in.

    • path: any

      The path to the property to set, in dot notation (e.g. "a.b.c").

    • value: any

      The value to set at the specified path.

    Returns void