Skip to main content

setNestedValue

FitFileViewer - API Documentation v29.9.0


FitFileViewer - API Documentation / utils/state/core/stateManagerPathUtils / setNestedValue

Function: setNestedValue()

private setNestedValue(obj: Object, path: string, value: any): void

Defined in: utils/state/core/stateManagerPathUtils.js:38

Helper function to set nested value in object.

Parameters​

obj​

Object

Target object

path​

string

Dot notation path

value​

any

Value to set

Returns​

void