getNestedValue
FitFileViewer - API Documentation v30.0.1
FitFileViewer - API Documentation / utils/state/core/stateManagerPathUtils / getNestedValue
Function: getNestedValue()
getNestedValue(
obj:unknown,path:string):unknown
Defined in: utils/state/core/stateManagerPathUtils.ts:11
Gets a nested value from an object by dot-notation path.
Parametersβ
objβ
unknown
Source object.
pathβ
string
Dot-notation path.
Returnsβ
unknown
Value at the path, or undefined when the path cannot be resolved.