@yantrix/automata v0.6.0 • Docs
Yantrix API / @yantrix/automata / appendModelItem
Function: appendModelItem() ​
ts
function appendModelItem<ItemType>(list, item): ItemType[]Appends one item to a List without mutating it.
Type Parameters ​
• ItemType
Parameters ​
• list: readonly ItemType[]
• item: ItemType
Returns ​
ItemType[]