setValueAtPath

View sourcesetValueAtPath(target: unknown, path: (string | number)[], value: unknown): unknown

Applies a typed path to an object, array, or Map.

Parameters

NameDescriptionDefault
target——
path——
value——