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