@maxhealth.tech/prefab / actions / append
Function: append()
ts
function append(
target,
item,
index?): AppendState;Defined in: actions/sugar.ts:43
Append an item to an array state value. Optionally specify insertion index.
Parameters
| Parameter | Type |
|---|---|
target | StateTarget |
item | unknown |
index? | number |