Skip to content

createObject

createObject(path): object

Defined in: actions/helpers.ts:184

Action builders for an object at path: merge, set, clear and setField.

ParameterType
pathstring[]

object

clear: () => Action

Action

merge: (obj) => Action

ParameterType
objRecord<string, any>

Action

set: (obj) => Action

ParameterType
objRecord<string, any>

Action

setField: (field, value) => Action

ParameterType
fieldstring
valueany

Action