Welshman Docs / @welshman/lib / displayList
Function: displayList() ​
displayList<
T
>(xs
,conj
,n
):string
Defined in: packages/lib/src/Tools.ts:1381
Displays a list of items with oxford commas and a chosen conjunction
Type Parameters ​
T ​
T
Parameters ​
xs ​
T
[]
conj ​
string
= "and"
n ​
number
= 6
Returns ​
string