@shopify/cli-kit
    Preparing search index...

    Function setPathValue

    • Sets the value at path of object. If a portion of path doesn't exist, it's create.

      Parameters

      • object: object

        The object to modify.

      • path: PropertyPath

        The path of the property to set.

      • Optionalvalue: unknown

        The value to set.

      Returns object

      • Returns object.