# getByPath

> _Since v3.3.0_

Read a nested value from `row` by pre-parsed path segments. Returns
`undefined` on any nullish/non-object hop. Prototype-pollution safe.

```ts
function getByPath(row: unknown, path: readonly string[]): unknown
```

## Parameters

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