Skip to content

createArray

createArray(path): object

Defined in: actions/helpers.ts:176

Action builders for an array at path: add, remove, clear and set.

ParameterType
pathstring[]

object

add: (item) => Action

ParameterType
itemany

Action

clear: () => Action

Action

remove: (item) => Action

ParameterType
itemany

Action

set: (items) => Action

ParameterType
itemsany[]

Action