# setByPath

> _Since v3.3.0_

Write `value` into `row` at the location described by pre-parsed path
segments. Walks **existing** objects only — it does NOT fabricate missing
intermediates — and returns `true` only when the write happened.
Prototype-pollution safe (every segment is guarded).

```ts
function setByPath(row: unknown, path: readonly string[], value: unknown): boolean
```

## Parameters

| Name | Type | Description |
| ---- | ---- | ----------- |
| `row` | <code>unknown</code> |  |
| `path` | <code>readonly string[]</code> |  |
| `value` | <code>unknown</code> |  |
