Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 618 Bytes

File metadata and controls

32 lines (17 loc) · 618 Bytes

ts-humanize v1.0.0


ts-humanize / wordSeries

Function: wordSeries()

wordSeries(words, conjuction): string

Defined in: english/words.ts:97

wordSeries converts a list of words into a word series.

It returns a string containing all the given words seperated by commas, the coordinating conjuction, and a serial comma, as appropriate.

See also: oxfordWordSeries

Parameters

words

string[]

conjuction

string

Returns

string