Welshman Docs / @welshman/lib / append
Function: append() ​
append<
T>(x,xs):T[]
Defined in: packages/lib/src/Tools.ts:429
Appends element to array
Type Parameters ​
T ​
T
Parameters ​
x ​
T
Element to append
xs ​
T[]
Array to append to
Returns ​
T[]
New array with element appended