Skip to content

Documentation / base / DiffPath

Type Alias: DiffPath

DiffPath = (string | number)[]

Defined in: libs/base/src/diff.ts:33

A path describing a location within a JSON-like structure.

Each segment is either a string (object key) or a number (array index).

Example: ["users", 0, "name"]

Released under the MIT License.